On Tuesday 12 July 2005 10:55, Luca Cappa wrote:
> Chris Vine wrote:

[snip]

> >Passing a GtkAttachOptions value of (GTK_EXPAND | GTK_FILL) will do this
> > for you.
>
> I tryed it, and it seems to not be true. Indeed, if the window is at the
> minimu size (i.e. at the sum of all
> the request size of children), the relative dimension is exactly 33% and
> 66% on the Y. But if i resize it (making it taller),
> the table adds equally horiz. lines to both the cells, and not by adding
> lines by the cells' relative size. So as long as i enlarge it, the cells
> will have equal size. You could try it in Glade too.
>
> > 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.

OK, I can see the problem.  GtkPaned may keep its relative dimensions if both 
contained widgets are set to resize (I do not know) but GtkPaned doesn't look 
like what you what presentationally.

It looks like you may have to write your own event handler to do this.

Chris
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to