From 1e431f20b22819a2ab76d325331d1d209771b2e4 Mon Sep 17 00:00:00 2001 From: nirvn Date: Wed, 13 Feb 2019 12:55:12 +0700 Subject: [PATCH] [themes] Add minimum width for QPushButton widgets (fix tiny raster calc. buttons) --- resources/themes/Blend of Gray/style.qss | 5 +++++ resources/themes/Night Mapping/style.qss | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/resources/themes/Blend of Gray/style.qss b/resources/themes/Blend of Gray/style.qss index 02180df5d3e..2cb75b279b9 100644 --- a/resources/themes/Blend of Gray/style.qss +++ b/resources/themes/Blend of Gray/style.qss @@ -142,6 +142,11 @@ QPushButton color:@text; } +QPushButton[text^=""] +{ + min-width: 2.5em; +} + QToolButton { padding: 0.12em; diff --git a/resources/themes/Night Mapping/style.qss b/resources/themes/Night Mapping/style.qss index d75e5dcc0b8..0fc93e8332b 100644 --- a/resources/themes/Night Mapping/style.qss +++ b/resources/themes/Night Mapping/style.qss @@ -152,6 +152,11 @@ QPushButton color:@text; } +QPushButton[text^=""] +{ + min-width: 2.5em; +} + QToolButton { padding: 0.12em;