@@ -51,12 +51,12 @@ QComboBox::down-arrow, QSpinBox::down-arrow, QTimeEdit::down-arrow, QDateEdit::d
51
51
}
52
52
53
53
/* Start widget style setting */
54
-
55
- LoadDialog , LaunchWidget , CreationDialog , HotkeysMainWindow
54
+ LoadDialog , LaunchWidget , CreationDialog
56
55
{
57
- background-image : url (Resources/Icons/StartMenuBackground.png);
56
+ /* background: center no-repeat url(Resources/Icons/StartMenuBackground.png); */
57
+ /* Watch at https://forum.qt.io/topic/40151/solved-scaled-background-image-using-stylesheet/3 */
58
+ border-image : url (Resources/Icons/StartMenuBackground.png) 0 0 0 0 stretch stretch;
58
59
background-color : black;
59
- /* background-position: center; */
60
60
}
61
61
62
62
BaseConfigurationDialog QPushButton
@@ -101,6 +101,13 @@ QPushButton#btnReview
101
101
102
102
/* ------------------------------------------------------------------------------ */
103
103
104
+ HotkeysMainWindow
105
+ {
106
+ /* Watch at https://forum.qt.io/topic/40151/solved-scaled-background-image-using-stylesheet/3 */
107
+ border-image : url (Resources/Icons/StartMenuBackground.png) 0 0 0 0 stretch stretch;
108
+ background-color : black;
109
+ }
110
+
104
111
HotkeysMainWindow , HotkeysMainWindow # QVBoxLayout , HotkeysMainWindow # QHBoxLayout , HotkeysMainWindow # QBoxLayout , HotkeysMainWindow # QWidget ,
105
112
ActionHotkeyWidget , ActionHotkeyWidget # QVBoxLayout , ActionHotkeyWidget # QHBoxLayout , ActionHotkeyWidget # QBoxLayout , ActionHotkeyWidget # QWidget
106
113
{
0 commit comments