Windows style: Turn off SH_EtchDisabledText in dark mode
It does not look good in dark mode. Task-number: QTBUG-82197 Change-Id: I043c7d66d962e4c82581f37e52f279d4f4ed8c7e Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
This commit is contained in:
parent
eb2af9d923
commit
e2e596c0c5
@ -548,6 +548,8 @@ int QWindowsStyle::styleHint(StyleHint hint, const QStyleOption *opt, const QWid
|
||||
|
||||
switch (hint) {
|
||||
case SH_EtchDisabledText:
|
||||
ret = d_func()->isDarkMode() ? 0 : 1;
|
||||
break;
|
||||
case SH_Slider_SnapToValue:
|
||||
case SH_PrintDialog_RightAlignButtons:
|
||||
case SH_FontDialog_SelectAssociatedText:
|
||||
|
Loading…
x
Reference in New Issue
Block a user