Re: GtkBox packing



On Wed, 2003-06-04 at 16:49, Martin Klaffenboeck wrote:
Hello,

When I have a vbox, is it possible to pack some widgets more right than 
others?

means:

-------------
  Headerlabel
-------------
      item1
-------------
      item2
-------------

So that we can see a hierarchy?

Use a hbox and pack a dummy empty widget into the first location (say
another hbox) and set it's width with gtk_widget_set_size_request()

In GTK+-2.4, GtkAlignment will have the ability to set padding
independently on all 4 sides, which make such arrangements easier
to accomplish.

Regards,
                                            Owen





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]