|
From: Mikael A. <mik...@te...> - 2001-12-14 02:01:59
|
Hi ! To have it done behind the scenes would be nice, but it's no big deal, your solution fixes it and that's enough for me, thanks. Mikael ----- Original Message ----- From: "jeroen" <je...@fo...> To: "Mikael Aronsson" <mik...@te...> Cc: "FOX Users" <fox...@li...> Sent: Friday, December 14, 2001 2:14 AM Subject: Re: [Foxgui-users]FXComboBox question ? > On Thursday 13 December 2001 00:57, you wrote: > > Hi ! > > > > Is it possible to set the height of the pulldown box to be dynamic as it is > > Windows ?, if you just have a few choices and the pulled down window is > > much bigger then that look's a bit ugly. > > > > What I mean is that if there are only for example 2 items in the combobox, > > then it will thrink the size of the pulled down window two fit these two > > items only, it gives a much nicer look to it. > > > > Mikael > > > The quick fix: > > > combobox->setNumVisible(combobox->getNumItems()); > > > But I suspect you want this to be done automatically... > > > > - Jeroen > |