Changing ttk.Style removes highlighting from ttk.Treeview

For some reason I don’t know, it seems like the created theme does not inherit from parent. Therefore your theme is missing among other settings the dynamic styling of the treeview’s row.

To avoid that, it is simpler in my opinion to just modify an existing theme:

style = ttk.Style()


CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top