Skip to content

Commit

Permalink
Fix combobox dropdown list padding issue with theme
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Jan 1, 2019
1 parent 540f952 commit 7db8910
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion resources/themes/Night Mapping/style.qss
Expand Up @@ -198,7 +198,7 @@ QComboBox {
border-style: solid; border-style: solid;
border: 1px solid #1e1e1e; border: 1px solid #1e1e1e;
border-radius: 0px; border-radius: 0px;
padding: 0.1em; padding: 0.1em 1em 0.1em 0.1em;
} }




Expand Down Expand Up @@ -250,6 +250,18 @@ QComboBox::down-arrow
height: 1.2em; height: 1.2em;
} }


QComboBox:item {
padding-left: 1.5em;
height:1.2em;
}
QComboBox:item:selected {
padding-left: 1.5em;
height:1.2em;
}
QComboBox:item:checked {
padding-left: 1.5em;
height:1.2em;
}


QLineEdit:focus QLineEdit:focus
{ {
Expand Down

0 comments on commit 7db8910

Please sign in to comment.