fix: Added padding to reset defaults button (#6926)

The button did not have enough padding, now it does!

Co-authored-by: liamwhite <liamwhite@users.noreply.github.com>
Co-authored-by: Benjamin <73490201+benjaminhalko@users.noreply.github.com>
This commit is contained in:
Tobias 2023-08-28 21:17:59 +02:00 committed by GitHub
parent d1f600601d
commit d2260bafef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View File

@ -26,3 +26,8 @@ QPushButton#3DOptionStatusBarButton {
QPushButton#3DOptionStatusBarButton:hover { QPushButton#3DOptionStatusBarButton:hover {
border: 1px solid #76797C; border: 1px solid #76797C;
} }
QPushButton#button_reset_defaults {
min-width: 57px;
padding: 4px 8px;
}

View File

@ -1072,6 +1072,10 @@ QPushButton:focus {
border: 1px solid #1464A0; border: 1px solid #1464A0;
} }
QPushButton#button_reset_defaults {
padding: 3px 6px;
}
/* QToolButton ------------------------------------------------------------ /* QToolButton ------------------------------------------------------------
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtoolbutton https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtoolbutton