Re: how to make a (gtk2) option menu the size of the biggest menu item?



rob <mailingLists pangolin org uk> writes:
how can I make a (gtk2) option menu the size(width) of the biggest menu
item rather then the same size(width) as the currently selected one?

Is it even possible?

My ui looks ugly at the moment because of this :(


The trick is to show all your menu items before you call
gtk_option_menu_set_submenu(), IIRC. There's an open bug about it but
it's really hard to fix due to arcane implementation details.

Havoc



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