From d2260bafeff60e0c42b7dbf075691c8acbad9933 Mon Sep 17 00:00:00 2001 From: Tobias Date: Mon, 28 Aug 2023 21:17:59 +0200 Subject: [PATCH] fix: Added padding to reset defaults button (#6926) The button did not have enough padding, now it does! Co-authored-by: liamwhite Co-authored-by: Benjamin <73490201+benjaminhalko@users.noreply.github.com> --- dist/qt_themes/default/style.qss | 5 +++++ dist/qt_themes/qdarkstyle_midnight_blue/style.qss | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/dist/qt_themes/default/style.qss b/dist/qt_themes/default/style.qss index 8e7a56f97e..4f1e99f52a 100644 --- a/dist/qt_themes/default/style.qss +++ b/dist/qt_themes/default/style.qss @@ -26,3 +26,8 @@ QPushButton#3DOptionStatusBarButton { QPushButton#3DOptionStatusBarButton:hover { border: 1px solid #76797C; } + +QPushButton#button_reset_defaults { + min-width: 57px; + padding: 4px 8px; +} diff --git a/dist/qt_themes/qdarkstyle_midnight_blue/style.qss b/dist/qt_themes/qdarkstyle_midnight_blue/style.qss index 12d05d7bff..7cfd7c62e5 100644 --- a/dist/qt_themes/qdarkstyle_midnight_blue/style.qss +++ b/dist/qt_themes/qdarkstyle_midnight_blue/style.qss @@ -1072,6 +1072,10 @@ QPushButton:focus { border: 1px solid #1464A0; } +QPushButton#button_reset_defaults { + padding: 3px 6px; +} + /* QToolButton ------------------------------------------------------------ https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtoolbutton