Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using theme with Tabs - Performance issue #2

Closed
kobi-adler opened this issue Feb 15, 2021 · 1 comment
Closed

Using theme with Tabs - Performance issue #2

kobi-adler opened this issue Feb 15, 2021 · 1 comment
Labels
wontfix This will not be worked on

Comments

@kobi-adler
Copy link

After I added tabs to my app with the theme activated I started to experience performance issues.

Also, the tabs and menu bar don't have any visual effect from the theme.

But I really like your Dark theme so keep going :)

@rdbende
Copy link
Owner

rdbende commented Feb 15, 2021

First of all thank you for trying my theme!

Tab

Did you mean notebook?

It should work with the theme
Try this code:

notebook = ttk.Notebook(root)
notebook_tab1 = ttk.Frame(notebook, width=200, height=200)
notebook.add(notebook_tab1, text='Tab 1')
notebook_tab2 = ttk.Frame(notebook, width=200, height=200)
notebook.add(notebook_tab2, text='Tab 2')
notebook_tab3 = ttk.Frame(notebook, width=200, height=200)
notebook.add(notebook_tab3, text='Tab 3')
notebook.pack()

image

Menubar

Unfortunately the theme can only change the appearance of ttk widgets, not the simple tkinter widgets, so only the foreground and background colors of the menubar submenu can be changed.

@rdbende rdbende closed this as completed Mar 5, 2021
@rdbende rdbende added the wontfix This will not be worked on label May 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants