[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtkmm
Subject:    Re: Gtk::Bin::set_justify(Left)??
From:       Chris Vine <chris () cvine ! freeserve ! co ! uk>
Date:       2010-10-29 19:15:14
Message-ID: 20101029201514.7cc320ec () boulder ! homenet
[Download RAW message or body]

On Sat, 30 Oct 2010 00:41:11 +0800
smso@graduate.hku.hk wrote:
> Try using Gtk::Table for laying out the widgets.

That's not going to help with this.  Gtk::Label inherits from
Gtk::Misc.  The OP needs to call set_alignment(0, 0.5) on the label for
left alignment.  Gtk::Label::set_justify(Gtk::JUSTIFY_LEFT) will align
multiple lines so they line up on their left side, but not shift out any
spare space to the left.  So to do what the OP wants, he should call
both.

Chris


_______________________________________________
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic