From df03c172db49ca5cac695764873ff8f9a72c3d25 Mon Sep 17 00:00:00 2001 From: Matthias Metelka <62722460+kleinerpirat@users.noreply.github.com> Date: Mon, 10 Oct 2022 05:50:24 +0200 Subject: [PATCH] Add min-width to QPushButton stylesheet (#2115) to improve look on windows systems --- qt/aqt/stylesheets.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qt/aqt/stylesheets.py b/qt/aqt/stylesheets.py index 75acbbca2..6dae425e7 100644 --- a/qt/aqt/stylesheets.py +++ b/qt/aqt/stylesheets.py @@ -63,6 +63,9 @@ QToolTip {{ def button_styles(tm: ThemeManager) -> str: return f""" +QPushButton {{ + min-width: 75px; +}} QPushButton, QTabBar::tab:!selected, QComboBox:!editable {{