Re: Setting size of SpinButton
- From: Havoc Pennington <hp redhat com>
- To: Lars Clausen <lrclause cs uiuc edu>
- Cc: gtk-list gnome org
- Subject: Re: Setting size of SpinButton
- Date: 31 Jan 2001 20:57:55 -0500
Lars Clausen <lrclause cs uiuc edu> writes:
> I have the exact same problem with GtkMenu, it doesn't like to resize
> itself to accomodate longer items (even when prompted with
> gtk_widget_queue_resize()). Instead I find the longest item and set that
> as usize, adding a but to allow for border and handle. Not a pretty sight,
> but better.
>
You mean with GtkOptionMenu? That's an option menu bug. The workaround
is to add all menu items to the GtkMenu, and _show_ all the menu
items, _before_ calling gtk_option_menu_set_submenu(). Lame, but
works.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]