Skip to content

Commit 334ae0c

Browse files
committed
[themes] Restrict QPushButton min-width to raster calculator dialog
1 parent dab4a04 commit 334ae0c

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

resources/themes/Blend of Gray/style.qss

+4-5
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,6 @@ QPushButton
142142
color:@text;
143143
}
144144

145-
QPushButton[text^=""]
146-
{
147-
min-width: 2.5em;
148-
}
149-
150145
QToolButton
151146
{
152147
padding: 0.12em;
@@ -854,3 +849,7 @@ QWidget#QgsTextFormatWidgetBase QTabWidget#mOptionsTab QTabBar::tab,
854849
QWidget#QgsRendererMeshPropsWidgetBase QTabWidget#mStyleOptionsTab QTabBar::tab {
855850
width: 1.2em;
856851
}
852+
853+
QWidget#QgsRasterCalcDialogBase QWidget#mOperatorsGroupBox QPushButton {
854+
min-width:2.3em;
855+
}

resources/themes/Night Mapping/style.qss

+4-5
Original file line numberDiff line numberDiff line change
@@ -152,11 +152,6 @@ QPushButton
152152
color:@text;
153153
}
154154

155-
QPushButton[text^=""]
156-
{
157-
min-width: 2.5em;
158-
}
159-
160155
QToolButton
161156
{
162157
padding: 0.12em;
@@ -864,3 +859,7 @@ QWidget#QgsTextFormatWidgetBase QTabWidget#mOptionsTab QTabBar::tab,
864859
QWidget#QgsRendererMeshPropsWidgetBase QTabWidget#mStyleOptionsTab QTabBar::tab {
865860
width: 1.2em;
866861
}
862+
863+
QWidget#QgsRasterCalcDialogBase QWidget#mOperatorsGroupBox QPushButton {
864+
min-width:2.3em;
865+
}

0 commit comments

Comments
 (0)