Skip to content
This repository was archived by the owner on Feb 6, 2023. It is now read-only.

New light theme #17

Merged
merged 4 commits into from
Jun 27, 2019
Merged

New light theme #17

merged 4 commits into from
Jun 27, 2019

Conversation

MolotovCherry
Copy link
Contributor

Added new light theme and updated the example to be able to switch between both

changed the _apply_base_theme to apply AFTER palette is set, because you can't change the theme until setPalette is called. You won't notice this when there's only one theme, but when you try to switch between 2, it becomes apparent that the change only succeeds after you setPalette twice, which is due to it being called AFTER _apply_base_theme, instead of before.
The application might not have a border to see the default title, but it is an application and visible on the taskbar. Rest assured that the system WILL add a title to your application, and your taskbar application will say "Python" instead of the proper window title, which is UGLY. We SHOULD be setting the applications title as well. There's no way to set this without ugly code, it belongs in the official module itself
@gmarull gmarull merged commit 7e4b658 into gmarull:master Jun 27, 2019
@gmarull
Copy link
Owner

gmarull commented Jun 27, 2019

Thanks @cherryleafroad !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants