commit 12

This commit is contained in:
2025-07-27 21:38:08 +02:00
parent 7ab63d2a63
commit 1b7a6b3411
2 changed files with 3 additions and 3 deletions

View File

@@ -218,7 +218,7 @@ class CustomFileDialog(tk.Toplevel):
)
style.configure("Toolbutton.TButton", padding=0,
relief="flat", background=self.sidebar_color)
relief="flat")
style.map("Toolbutton.TButton",
background=[('active', self.selection_color)],
)
@@ -273,13 +273,13 @@ class CustomFileDialog(tk.Toplevel):
btn.pack(fill="x", pady=1)
storage_frame = ttk.Frame(sidebar_frame, style="Sidebar.TFrame")
storage_frame.grid(row=2, column=0, sticky="ew", pady=(10, 0), padx=10)
storage_frame.grid(row=2, column=0, sticky="ew", padx=10)
self.storage_label = ttk.Label(
storage_frame, text="Freier Speicher:", style="Sidebar.TLabel")
self.storage_label.pack(fill="x")
self.storage_bar = ttk.Progressbar(
storage_frame, orient="horizontal", length=100, mode="determinate")
self.storage_bar.pack(fill="x", pady=(2, 10))
self.storage_bar.pack(fill="x", pady=(2, 5))
content_frame = ttk.Frame(paned_window, padding=(5, 0, 0, 0))
paned_window.add(content_frame, weight=1)