I have exactly the same problem. I tried a lot of different styles to apply, but none of them worked. In my opinion, the following CSS should work, but it doesn't:
I tried also the tip from another thread (http://www.qtcentre.org/forum/f-qt-p...box-12025.html) to add the QApplication::globalStrut. This works for all Widgets, except AbstractItemView of the QComboBox.Qt Code:
{ padding-top: 10px; padding-bottom: 10px; }To copy to clipboard, switch view to plain text mode
I'm at the moment with Qt 4.3.2, and will try it today with Qt 4.4.
One solution would be to implement a custom model. But it would be so nice if I don't have to implement a custom model.
Bookmarks