Skip to content

The themes makes my application slow #85

@Jason-XII

Description

@Jason-XII

When I used the "arc" and "breeze" theme for my application and maximized the application window, it suddenly seemed to slow down, but there was nothing wrong with my computer! Here are my code:

from tkinter import ttk
from tkinter import *
from ttkthemes import ThemedTk 

root = ThemedTk(theme="arc")
tabs = ttk.Notebook(root, padding=(10, 10, 10, 20))
tab_merge = ttk.Frame(root)
tab_extract = ttk.Frame(root)
tab_delete = ttk.Frame(root)
tabs.add(tab_merge, text="tab1")
tabs.add(tab_extract, text="tab2")
tabs.add(tab_delete, text="tab3")
tabs.pack(fill=BOTH, expand=True)
root.mainloop()

When I changed the theme to "adapta", suddenly everything turned ok which made me quite puzzled. What did this mean?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions