mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
Apply styles to all platforms
mainly so people like @hgiesel can easily test the widget style overrides, but maybe you actually prefer them over the native ones, who knows :)
This commit is contained in:
parent
123e2377de
commit
4e8c7e819f
1 changed files with 11 additions and 13 deletions
|
@ -198,19 +198,17 @@ class ThemeManager:
|
||||||
)
|
)
|
||||||
|
|
||||||
buf = ""
|
buf = ""
|
||||||
|
buf += "".join(
|
||||||
if not is_mac:
|
[
|
||||||
buf += "".join(
|
general_styles(self, buf),
|
||||||
[
|
button_styles(self, buf),
|
||||||
general_styles(self, buf),
|
combobox_styles(self, buf),
|
||||||
button_styles(self, buf),
|
tabwidget_styles(self, buf),
|
||||||
combobox_styles(self, buf),
|
table_styles(self, buf),
|
||||||
tabwidget_styles(self, buf),
|
spinbox_styles(self, buf),
|
||||||
table_styles(self, buf),
|
scrollbar_styles(self, buf),
|
||||||
spinbox_styles(self, buf),
|
]
|
||||||
scrollbar_styles(self, buf),
|
)
|
||||||
]
|
|
||||||
)
|
|
||||||
|
|
||||||
if is_win and platform.release() == "10":
|
if is_win and platform.release() == "10":
|
||||||
buf += win10_styles(self, buf)
|
buf += win10_styles(self, buf)
|
||||||
|
|
Loading…
Reference in a new issue