Re: Stylesheet on QComboBox.
Dear group,
Some additional information that sheds some different light on the subject.
I now 'downgraded' my other box , the one with the problem , to Qt 4.5.2 and I still have the same problem. Then I noticed that my original box - the one it works upon - has Xfce running as desktop, while my new box runs Gnome.
Now, if I turn the desktop to Xfce, it works as expected. If I run it in Gnome, it doesn't !
I'm now completely stuck ... It seems that the desktop is somehow taking over control of some of the elements ? Or what ? Can this be changed ?
Thanks for all help of hints,
Jos
P.S. I doubt if this still is a "newbie" question. So administrator, you might want to move the thread.
Added after 14 minutes:
Dear group,
My latest post worked quite as a therapy ;)
The answer to the question was somehow in the post : it's of course the "default style" that makes the difference. Running my application with -style plastique or -style motif ... makes the combobox respond correctly to the stylesheet.
I leave this one to the experts, but it appears to me that this can be classified as a bug that reveals itselfs under gtk-style.
Best regards,
Jos