Good news! Package on Pypi! #19
rdbende
announced in
Announcements
Replies: 3 comments 7 replies
-
|
@rdbende How can I change the font size with this one? The font seems to be too small for me |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
How do I import this theme? |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
How do I disable / change completely the style for one element? import tkinter as tk
from tkinter import ttk
import sv_ttk
root = tk.Tk()
style = ttk.Style()
sv_ttk.use_dark_theme()
style.configure("Other.TButton", background="red", borderwidth=1, bordercolor="green")
btn = ttk.Button(text="John")
other_btn = ttk.Button(text="Doe")
other_btn.configure(style="Other.TButton")
btn.pack()
other_btn.pack()
root.mainloop() |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I created a simple package to make this theme easy to use.
Installation
Documentation
Beta Was this translation helpful? Give feedback.
All reactions