PDA

View Full Version : GTK Aligning Container children



J V
October 29th, 2009, 06:20 PM
I have a glade file (Suffice to say its really complicated) with a line of toggle buttons...

These buttons are not set to expand, because I want them to stay nice and square...

The problem with this being that the buttons are all at the left, and for purely aesthetic reasons I would like them to pack to the right (Or bottom if vertical)

How do I do this? (In glade please)

http://i34.tinypic.com/fns3ec.png

Tony Flury
October 29th, 2009, 07:45 PM
I have a glade file (Suffice to say its really complicated) with a line of toggle buttons...

These buttons are not set to expand, because I want them to stay nice and square...

The problem with this being that the buttons are all at the left, and for purely aesthetic reasons I would like them to pack to the right (Or bottom if vertical)

How do I do this? (In glade please)

http://i34.tinypic.com/fns3ec.png

In code - you would pack them at the end - and not at the start - not sure how you do that in Glade.

J V
October 29th, 2009, 08:11 PM
Oh, I see the problem now, I was packing the Hbox rather than the contents, thanks for the help!