Open Aesonus opened 9 months ago
It was caused by #113, I just tested it. That's strange, I test a lot but can not fix it.
I think it may have something to do with the event propogation. If I do:
root.after(10, sv_ttk.use_light_theme)
Then everything works.
After updating to version 2.6 it appears that the theme is no longer being applied to Toplevel widgets.
Using the following code:
On version 2.6 it looks like this (wrong):
On version 2.5.5 (correct):
This is on a Windows 11 system. I have not tested it yet on any other OS, so I am not sure if this is a problem for them too, or just Windows 11.
EDIT: I did test the Tk widget and the styles are applied correctly to widgets in it.
EDIT 2: It also looks like if there is a ttk widget added to the Tk widget, then the TopLevel displays correctly: