commit 15
This commit is contained in:
Binary file not shown.
@@ -229,9 +229,9 @@ class CustomFileDialog(tk.Toplevel):
|
|||||||
)
|
)
|
||||||
|
|
||||||
style.configure("Toolbutton_right.TButton", padding=0,
|
style.configure("Toolbutton_right.TButton", padding=0,
|
||||||
relief="flat")
|
relief="flat", background=self.sidebar_color)
|
||||||
style.map("Toolbutton_right.TButton",
|
style.map("Toolbutton_right.TButton",
|
||||||
background=[('active', self.accent_color)],
|
background=[('active', self.selection_color)],
|
||||||
)
|
)
|
||||||
|
|
||||||
def create_widgets(self):
|
def create_widgets(self):
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ if __name__ == "__main__":
|
|||||||
style = ttk.Style(root)
|
style = ttk.Style(root)
|
||||||
root.tk.call('source', f"{theme_path}/water.tcl")
|
root.tk.call('source', f"{theme_path}/water.tcl")
|
||||||
try:
|
try:
|
||||||
root.tk.call('set_theme', 'light')
|
root.tk.call('set_theme', 'dark')
|
||||||
except tk.TclError:
|
except tk.TclError:
|
||||||
pass
|
pass
|
||||||
root.mainloop()
|
root.mainloop()
|
||||||
|
|||||||
Reference in New Issue
Block a user