Height of a QListView item in css
Unsolved
General and Desktop
-
I've got a QT Combobox Object. Now I want to design the Items of it (QListView) in a bigger context.
But QListView::item does not work....
any suggestions?here my css:
QComboBox { background-color: rgb(204, 204, 204); border: 1px solid rgb(0, 0, 0); border-radius: 3px; font-family: "Tahoma"; font-size: 12px; min-height: 30px; } QListView { padding: 2px 30px 2px 20px; background-color: rgb(204, 204, 204); border: 1px solid rgb(0, 0, 0); min-width: 90px; selection-background-color: rgba(0, 173, 165, 127); } QListView::item { color: red; height: 30px; padding: 2px 30px 2px 20px; border: 1px solid transparent; } QListView::item:selected { border-color: rgb(0, 173, 165); background-color: rgba(0, 173, 165, 127); color: blue; }