diff --git a/__pycache__/custom_file_dialog.cpython-312.pyc b/__pycache__/custom_file_dialog.cpython-312.pyc index de4d91e..a2b2f28 100644 Binary files a/__pycache__/custom_file_dialog.cpython-312.pyc and b/__pycache__/custom_file_dialog.cpython-312.pyc differ diff --git a/custom_file_dialog.py b/custom_file_dialog.py index 6a6ac8c..f51446f 100644 --- a/custom_file_dialog.py +++ b/custom_file_dialog.py @@ -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)