Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.9.1
-
None
-
Windows 11, PySide 6.9.1
-
-
Windows
Description
STR:
- Create calendar using QML (DayOfWeekRow, MonthGrid)
- Set app color scheme to dark
app.styleHints().setColorScheme(PySide6.QtCore.Qt.ColorScheme.Dark)
- Start app
AB: DayOfWeekRow text has black color and is not visible on dark background
EB: DayOfWeekRow has light color and is visible on dark background
I fixed this problem locally by copying DayOfWeekRow.qml implementation and adding next line to AbstractDayOfWeekRow delegate:
color: palette.windowText
Hope this will be fixed in next versions so users could avoid copying and patching source code to make it look fine in dark mode