diff --git a/igniter/install_dialog.py b/igniter/install_dialog.py index 93637af321..9004d16629 100644 --- a/igniter/install_dialog.py +++ b/igniter/install_dialog.py @@ -289,14 +289,13 @@ class InstallDialog(QtWidgets.QDialog): "Run", btns_widget ) + run_button.setMinimumSize(64, 24) + run_button.setToolTip("Run OpenPype") # install button - - - - - - - - - - - - - - - - - - - - - - - - - - - exit_button = QtWidgets.QPushButton("Exit", btns_widget) - exit_button.setStyleSheet( - ("color: rgb(64, 64, 64);" - "background-color: rgb(128, 128, 128);" - "padding: 0.5em;") - ) + exit_button.setObjectName("ExitBtn") + exit_button.setFlat(True) exit_button.setMinimumSize(64, 24) exit_button.setToolTip("Exit") diff --git a/igniter/stylesheet.css b/igniter/stylesheet.css index 94648256ab..4da7ddc3f2 100644 --- a/igniter/stylesheet.css +++ b/igniter/stylesheet.css @@ -86,6 +86,18 @@ QMenu::item:selected { border: 1px solid rgb(48, 48, 48); } +#ExitBtn { + /* `border` must be set to background of flat button is painted .*/ + border: none; + color: rgb(64, 64, 64); + background-color: rgb(128, 128, 128); + padding: 0.5em; +} + +#ExitBtn:hover{ + background-color: rgb(185, 185, 185); +} + #ButtonWithOptions QPushButton{ border: none; background-color: rgb(72, 200, 150);