Skip to content

Commit

Permalink
[themes] Add minimum width for QPushButton widgets (fix tiny raster c…
Browse files Browse the repository at this point in the history
…alc. buttons)
  • Loading branch information
nirvn committed Feb 13, 2019
1 parent 76b7bce commit 1e431f2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions resources/themes/Blend of Gray/style.qss
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,11 @@ QPushButton
color:@text;
}

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

QToolButton
{
padding: 0.12em;
Expand Down
5 changes: 5 additions & 0 deletions resources/themes/Night Mapping/style.qss
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,11 @@ QPushButton
color:@text;
}

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

QToolButton
{
padding: 0.12em;
Expand Down

0 comments on commit 1e431f2

Please sign in to comment.