1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-12 09:26:06 +01:00

Fix an annoying CSS bug where the size of toolbuttons in the main

window would sometimes change by 1px when toggling their
enabled/disabled state.
This commit is contained in:
David Sansome 2012-07-15 17:11:49 +01:00
parent 3ca45f8100
commit 90db3b0e38

View File

@ -21,8 +21,9 @@ darwin QMenu {
}
QToolButton {
border: none;
padding: 2px;
border: 2px solid transparent;
border-radius: 3px;
padding: 1px;
}
QToolButton::menu-button {
@ -37,8 +38,6 @@ QToolButton[popupMode="1"] {
QToolButton:hover {
border: 2px solid %palette-highlight;
background-color: %palette-highlight-lighter;
border-radius: 3px;
padding: 1px;
}
QToolButton:hover[popupMode="1"] {
@ -48,8 +47,6 @@ QToolButton:hover[popupMode="1"] {
QToolButton:pressed {
border: 2px solid %palette-highlight-darker;
background-color: %palette-highlight-lighter;
border-radius: 3px;
padding: 1px;
}
QToolButton:pressed[popupMode="1"] {