[9505] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Size allocation wierdness?

daemon@ATHENA.MIT.EDU (Johannes Keukelaar)
Thu Oct 22 10:39:38 1998

To: gtk-list@redhat.com
From: johannes@nada.kth.se (Johannes Keukelaar)
Date: Thu, 22 Oct 1998 16:36:58 +0200
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

Hi!

I get, um, unexpected resizing behaviour from one of my widgets under gtk+ 
1.0.6. How do I go about finding out why I get that behaviour?

Here's what my widget tree looks like:

Toplevel, containing a scrolled window, containing a GtkFixed. The GtkFixed 
contains a number of VBoxes that, in their second 'slot' contain tables. One of 
those inner tables contains a frame that contains another GtkFixed, which 
should shrink (some of its children are moved, and I call 
gtk_widget_queue_resize on it), but doesn't.

The inner GtkFixed properly requests a smaller size, but still gets the 
previous (larger) size allocated! There doesn't seem to be anything preventing 
the widget from shrinking...

Hoping for some help,

Johannes.
--
Fourth law of thermodynamics:
If the probability of success is not almost one, it is damned near zero.

Visually inspecting visual programming languages.


-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post