|
From: jeroen <je...@fo...> - 2001-12-14 01:11:28
|
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 |