Re: gtk_widget_queue_resize() forgetting allocation
- From: Stephen Bach <9sjb qlink queensu ca>
- To: Owen Taylor <otaylor redhat com>
- Cc: gtk-list gnome org
- Subject: Re: gtk_widget_queue_resize() forgetting allocation
- Date: Mon, 27 Sep 2004 18:04:31 -0400
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]