Re: Gtk::Bin::set_justify(Left)??
- From: Chris Vine <chris cvine freeserve co uk>
- To: smso graduate hku hk
- Cc: gtkmm-list gnome org
- Subject: Re: Gtk::Bin::set_justify(Left)??
- Date: Fri, 29 Oct 2010 20:15:14 +0100
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]