Re: gtk_widget_queue_resize() forgetting allocation

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

 



On Mon, Sep 27, 2004 at 12:35:54PM -0400, Owen Taylor wrote:
> So, I'd actually appreciate it if you could file a bug in bugzilla
> with your test case as an attachment and a link to this analysis
> in the mail.gnome.org archives.

Done.

> Two easy workarounds for your problem you might want to try:
> 
>  - Change the resize mode on the Viewport to PARENT after creating it.
> 
>  - Do your label_resize in a handler for 'size-allocate' on the
>    toplevel rather than '::configure-event'.

I went with a modified version of the second one, and all is well.  Thanks --
your input was invaluable.

Stephen

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux