On Monday 11 July 2005 09:09, Luca Cappa wrote: > Chris Vine wrote: [snip]
> >It is a bit difficult to penetrate your question. If you don't want the > >contained widgets to have a minimum size then don't set the widgets to > > have a minimum size. > > > >Chris > > For example, i would simply like to have inside a window a table with > two rows: then i add to the first row a widget whose request size is > (50, 100), > and to the second row another widget with request size equals to (50, > 200). If I resize the window, the two widgets must keep their relative > dimensions, i.e. > on the vertical axis, 33% for the first widget, 66% for the second widget. Passing a GtkAttachOptions value of (GTK_EXPAND | GTK_FILL) will do this for you. If your complaint is that it will not shrink to less than the minimum size you have set then either set smaller minimum sizes in the ratio you want or (better) don't set a minimum size at all. Chris. _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list