Qt-interest Archive, April 2008
Combo Box Behaving Like A Huge Menu
Message 1 in thread
My application uses combo boxes extensively, with some of them holding
hundreds of entries. When I run the program on Kubuntu (which is where I do
my development), it runs perfectly. When I copy the compiled binary over to
my Fedora Core system, all the combo boxes act more like cascading menus
rather than having the line input box and a short scrollable list.
For combo boxes with a large number of items, when the drop down arrow is
selected, the entire screen gets filled with menu panels containing the list
data. The current item is then shown with a checkbox next to it wherever
that item happens to reside in the menu panels.
Has anyone encountered this? Is it some kind of Qt configuration option?
--
[ signature omitted ]
Message 2 in thread
It's the style that controls this. Ubuntu is probably using the plastique
style and Fedora is probably using clean looks. The style controls this
using the QStyle::SH_ComboBox_Popup enum.
Tom
On Thu, Apr 3, 2008 at 1:53 PM, <qt@xxxxxxxxxxxxxx> wrote:
> My application uses combo boxes extensively, with some of them holding
> hundreds of entries. When I run the program on Kubuntu (which is where I
> do
> my development), it runs perfectly. When I copy the compiled binary over
> to
> my Fedora Core system, all the combo boxes act more like cascading menus
> rather than having the line input box and a short scrollable list.
>
> For combo boxes with a large number of items, when the drop down arrow is
> selected, the entire screen gets filled with menu panels containing the
> list
> data. The current item is then shown with a checkbox next to it wherever
> that item happens to reside in the menu panels.
>
> Has anyone encountered this? Is it some kind of Qt configuration option?
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>