Skip to content

Commit

Permalink
ENH: add minimum width to push button of 80px, fixes #194
Browse files Browse the repository at this point in the history
  • Loading branch information
dpizetta committed Jan 9, 2020
1 parent 716979b commit 3c8bfb3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions qdarkstyle/qss/_styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -999,6 +999,8 @@ QPushButton {
border-radius: $SIZE_BORDER_RADIUS;
padding: 3px;
outline: none;
/* Issue #194 - Special case of QPushButton inside dialogs, for better UI */
min-width: 80px;

&:disabled {
background-color: $COLOR_BACKGROUND_NORMAL;
Expand Down
4 changes: 3 additions & 1 deletion qdarkstyle/style.qss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------

Created by the qtsass compiler v0.1.2.dev0
Created by the qtsass compiler v0.1.1

The definitions are in the "qdarkstyle.qss._styles.scss" module

Expand Down Expand Up @@ -971,6 +971,8 @@ QPushButton {
border-radius: 4px;
padding: 3px;
outline: none;
/* Issue #194 - Special case of QPushButton inside dialogs, for better UI */
min-width: 80px;
}

QPushButton:disabled {
Expand Down

0 comments on commit 3c8bfb3

Please sign in to comment.