[wxMSW,wxGTK] wxChoice, height of dropdown list

Carsten A. Arnholm arnholm at offline.no
Sat Dec 15 15:52:14 PST 2007


Hi,

I am using a wxChoice that has quite a few entries. It works fine except 
that the drop down list is much higher than what I would like (it isn't 
longer than my number of entries though). In Windows there is a nice 
scrollbar, and I would like to be able to specify the height of the drop 
down list. When using MFC in the past I was able to do this, but I cannot 
find a way to do it in wxWidgets. I also tried wxComboBox but the result is 
the same.

Is there a way to specify the max height of the wxChoice drop-down list, 
independent of the number of contained entries?

-- 
Carsten A. Arnholm
http://arnholm.org/
N59.776 E10.457 








More information about the wx-users mailing list