Gui: Remove -1 min-width from dialog buttons
This ensures that minimum width from QStyle is still applied while buttons still respect minimum size hint
This commit is contained in:
committed by
Chris Hennes
parent
fd44970530
commit
4c5c88bcf4
@@ -1287,11 +1287,6 @@ QPushButton::menu-indicator {
|
||||
bottom: 4px;
|
||||
}
|
||||
|
||||
QDialogButtonBox QPushButton {
|
||||
/* Issue # 194 # 248 - Special case of QPushButton inside dialogs, for better UI */
|
||||
min-width: -1;
|
||||
}
|
||||
|
||||
/* QToolButton ------------------------------------------------------------
|
||||
|
||||
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtoolbutton
|
||||
|
||||
@@ -1284,11 +1284,6 @@ QPushButton::menu-indicator {
|
||||
bottom: 4px;
|
||||
}
|
||||
|
||||
QDialogButtonBox QPushButton {
|
||||
/* Issue # 194 # 248 - Special case of QPushButton inside dialogs, for better UI */
|
||||
min-width: -1;
|
||||
}
|
||||
|
||||
/* QToolButton ------------------------------------------------------------
|
||||
|
||||
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtoolbutton
|
||||
|
||||
Reference in New Issue
Block a user