Re: Alignment of labels in table
- From: Peter Daum <gator_ml yahoo de>
- To: gtk-perl-list gnome org
- Subject: Re: Alignment of labels in table
- Date: Sun, 13 Nov 2005 20:43:51 +0100
muppet wrote:
[...]
So, the trick is to make sure that the label, which is set to align to
the left, is allocated all the space of the place where you want it to
go. In Gtk2::Table's packing terms, that means the x options must
contain "fill", which means "the child should be allocated all the
space of the cell, or, should fill the cell". You specified "shrink",
which allocates the child exactly as much space as it asked for, and
therefore your alignment settings are ignored.
Thanks a lot - now it works as intended!
Still, I am a little confused. Does this mean, that packed with 'shrink',
the label does not even get a whole table cell, but only the center
portion, with space to the left and to the right within the cell left
unallocated?
Regards,
Peter Daum
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]