Skip to content

Commit

Permalink
[themes] Restrict QPushButton min-width to raster calculator dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Mar 1, 2019
1 parent dab4a04 commit 334ae0c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
9 changes: 4 additions & 5 deletions resources/themes/Blend of Gray/style.qss
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -142,11 +142,6 @@ QPushButton
color:@text; color:@text;
} }


QPushButton[text^=""]
{
min-width: 2.5em;
}

QToolButton QToolButton
{ {
padding: 0.12em; padding: 0.12em;
Expand Down Expand Up @@ -854,3 +849,7 @@ QWidget#QgsTextFormatWidgetBase QTabWidget#mOptionsTab QTabBar::tab,
QWidget#QgsRendererMeshPropsWidgetBase QTabWidget#mStyleOptionsTab QTabBar::tab { QWidget#QgsRendererMeshPropsWidgetBase QTabWidget#mStyleOptionsTab QTabBar::tab {
width: 1.2em; width: 1.2em;
} }

QWidget#QgsRasterCalcDialogBase QWidget#mOperatorsGroupBox QPushButton {
min-width:2.3em;
}
9 changes: 4 additions & 5 deletions resources/themes/Night Mapping/style.qss
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -152,11 +152,6 @@ QPushButton
color:@text; color:@text;
} }


QPushButton[text^=""]
{
min-width: 2.5em;
}

QToolButton QToolButton
{ {
padding: 0.12em; padding: 0.12em;
Expand Down Expand Up @@ -864,3 +859,7 @@ QWidget#QgsTextFormatWidgetBase QTabWidget#mOptionsTab QTabBar::tab,
QWidget#QgsRendererMeshPropsWidgetBase QTabWidget#mStyleOptionsTab QTabBar::tab { QWidget#QgsRendererMeshPropsWidgetBase QTabWidget#mStyleOptionsTab QTabBar::tab {
width: 1.2em; width: 1.2em;
} }

QWidget#QgsRasterCalcDialogBase QWidget#mOperatorsGroupBox QPushButton {
min-width:2.3em;
}

0 comments on commit 334ae0c

Please sign in to comment.