Fix a focus artifact on Windows and adjust colors for not-so-stellar
monitors. svn path=/trunk/; revision=44556
This commit is contained in:
parent
c12c712d9c
commit
29d4ead8ad
|
@ -84,7 +84,8 @@ MainWelcome::MainWelcome(QWidget *parent) :
|
|||
|
||||
setStyleSheet(
|
||||
"MainWelcome {"
|
||||
" background: palette(base);"
|
||||
" background: palette(light);"
|
||||
" color: palette(dark);"
|
||||
" padding: 2em;"
|
||||
" }"
|
||||
"QListWidget {"
|
||||
|
@ -129,8 +130,8 @@ MainWelcome::MainWelcome(QWidget *parent) :
|
|||
// " background-color: palette(midlight);"
|
||||
// "}"
|
||||
"QListWidget::item:selected {"
|
||||
" background-color: palette(window);"
|
||||
" color: palette(window-text);"
|
||||
" background-color: palette(mid);"
|
||||
" color: palette(light);"
|
||||
"}"
|
||||
);
|
||||
|
||||
|
|
|
@ -96,6 +96,9 @@
|
|||
<verstretch>5</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="verticalScrollBarPolicy">
|
||||
<enum>Qt::ScrollBarAlwaysOff</enum>
|
||||
</property>
|
||||
|
|
Loading…
Reference in New Issue