Skip to content

Commit

Permalink
fix: QComboBox drop-down right border on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
F33RNI committed Dec 30, 2023
1 parent 50e2784 commit ad51c01
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions stylesheet.qss
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,18 @@ QComboBox:disabled {
}

QComboBox::drop-down {
background-color: #c5879d;
subcontrol-position: center right;
margin-right: 10px;
border: none;
border-color: transparent;
width: 2em;
}

QComboBox::drop-down:hover {
background-color: #e29cb4;
}

QComboBox::drop-down:disabled {
background-color: #a18991;
}

QComboBox QAbstractItemView {
Expand All @@ -101,20 +110,11 @@ QComboBox QAbstractItemView {
}

QComboBox::down-arrow {
background-color: #c5879d;
background-color: transparent;
height: 100%;
width: 2em;
}

QComboBox::down-arrow:hover {
background-color: #e29cb4;
}

QComboBox::down-arrow:disabled {
background-color: #a18991;
}


/*-----QScrollArea-----*/
QScrollArea {
border: none;
Expand Down

0 comments on commit ad51c01

Please sign in to comment.