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:
Matthias Metelka 2022-09-04 14:01:02 +02:00
parent 123e2377de
commit 4e8c7e819f

View file

@ -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)