mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
fix placeholder text color on win/lin
This commit is contained in:
parent
58d17a51f3
commit
e2c8dc92c1
1 changed files with 1 additions and 0 deletions
|
@ -241,6 +241,7 @@ QTabWidget {{ background-color: {}; }}
|
||||||
palette.setColor(QPalette.ColorRole.ToolTipBase, frame_bg)
|
palette.setColor(QPalette.ColorRole.ToolTipBase, frame_bg)
|
||||||
|
|
||||||
disabled_color = self.qcolor(colors.DISABLED)
|
disabled_color = self.qcolor(colors.DISABLED)
|
||||||
|
palette.setColor(QPalette.ColorRole.PlaceholderText, disabled_color)
|
||||||
palette.setColor(
|
palette.setColor(
|
||||||
QPalette.ColorGroup.Disabled, QPalette.ColorRole.Text, disabled_color
|
QPalette.ColorGroup.Disabled, QPalette.ColorRole.Text, disabled_color
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue