wxGTK 2.8.10: problem with wxChoice dropdown width

23 views
Skip to first unread message

Fulvio Senore

unread,
Nov 3, 2009, 3:35:38 AM11/3/09
to wx-u...@googlegroups.com
I have problem with the wxChoice control in the Linux build. The Windows
and Mac versions work ok.

I have some wxChoice controls in dialogs. I use a sizer to make the
controls expand to the right border of the dialog because they look
better, so the controls' width is rather large. The strings contained in
the controls are much narrower than the control itself and this causes a
problem: when I open the combo the dropdown list is much narrower than
the control: it only fits the contained strings. This is not the
expected look and it forces the user to move the mouse pointer a lot to
make a selection.
The problem does not happen if I do not make the control expand to fill
the whole dialog.

Of course I can give you more information if needed.

Is there a way to make the dropdown part of the control as large as the
control and not much narrower?

Thanks in advance.

Fulvio Senore

Reply all
Reply to author
Forward
0 new messages