commit 11

This commit is contained in:
2025-07-27 21:02:22 +02:00
parent 872513f348
commit 11f8d0e2fd
3 changed files with 131 additions and 50 deletions

View File

@@ -13,7 +13,7 @@ class GlotzMol(tk.Tk):
self.title("Custom File Dialog Test")
container = ttk.Frame(self, padding=10)
container.pack(fill="both", expand=True)
container.pack(fill="x", anchor="n")
ttk.Label(container, text="Ausgewählte Datei:").grid(
row=0, column=0, sticky="w")
@@ -58,7 +58,7 @@ if __name__ == "__main__":
style = ttk.Style(root)
root.tk.call('source', f"{theme_path}/water.tcl")
try:
root.tk.call('set_theme', 'dark')
root.tk.call('set_theme', 'light')
except tk.TclError:
pass
root.mainloop()