diff --git a/__pycache__/cfd_ui_setup.cpython-312.pyc b/__pycache__/cfd_ui_setup.cpython-312.pyc index 02939f4..78993a4 100644 Binary files a/__pycache__/cfd_ui_setup.cpython-312.pyc and b/__pycache__/cfd_ui_setup.cpython-312.pyc differ diff --git a/__pycache__/custom_file_dialog.cpython-312.pyc b/__pycache__/custom_file_dialog.cpython-312.pyc index bf29ce5..1dd2739 100644 Binary files a/__pycache__/custom_file_dialog.cpython-312.pyc and b/__pycache__/custom_file_dialog.cpython-312.pyc differ diff --git a/cfd_ui_setup.py b/cfd_ui_setup.py index ce372aa..44cb51b 100644 --- a/cfd_ui_setup.py +++ b/cfd_ui_setup.py @@ -335,20 +335,21 @@ class WidgetManager: """Sets up the bottom bar including containers and widgets based on dialog mode.""" self.action_status_frame = ttk.Frame(self.content_frame, style="AccentBottom.TFrame") self.action_status_frame.grid(row=1, column=0, sticky="ew", pady=(5, 10), padx=10) - + self.status_container = ttk.Frame(self.action_status_frame, style="AccentBottom.TFrame") self.left_container = ttk.Frame(self.action_status_frame, style="AccentBottom.TFrame") self.center_container = ttk.Frame(self.action_status_frame, style="AccentBottom.TFrame") self.right_container = ttk.Frame(self.action_status_frame, style="AccentBottom.TFrame") self.action_status_frame.grid_columnconfigure(1, weight=1) - self.left_container.grid(row=0, column=0, sticky='w') - self.center_container.grid(row=0, column=1, sticky='ew') - self.right_container.grid(row=0, column=2, sticky='e') + self.status_container.grid(row=0, column=0, columnspan=3, sticky='ew') + self.left_container.grid(row=1, column=0, sticky='w') + self.center_container.grid(row=1, column=1, sticky='ew') + self.right_container.grid(row=1, column=2, sticky='e') # --- Define Widgets --- + self.search_status_label = ttk.Label(self.status_container, text="", style="AccentBottom.TLabel") self.status_bar = ttk.Label(self.center_container, text="", anchor="w", style="AccentBottom.TLabel") self.search_entry = ttk.Entry(self.center_container) - self.search_status_label = ttk.Label(self.center_container, text="", style="AccentBottom.TLabel") self.settings_button = ttk.Button(self.action_status_frame, image=self.dialog.icon_manager.get_icon('settings-2_small'), command=self.dialog.open_settings_dialog, style="Bottom.TButton.Borderless.Round") self.trash_button = ttk.Button(self.action_status_frame, image=self.dialog.icon_manager.get_icon('trash_small2'), @@ -396,7 +397,7 @@ class WidgetManager: self.center_container.grid_columnconfigure(0, weight=1) self.filter_combobox.grid(in_=self.center_container, row=1, column=1, pady=(5,0), padx=(5,0)) - self.search_status_label.grid(in_=self.center_container, row=1, column=0, sticky="w", pady=(5,0), padx=(5,0)) + self.search_status_label.grid(in_=self.status_container, row=0, column=0, sticky="w", pady=(5,0), padx=(5,0)) self.right_container.grid_rowconfigure(0, weight=1) self.trash_button.grid(in_=self.right_container, row=0, column=1, sticky="se", padx=(5,0)) @@ -421,7 +422,7 @@ class WidgetManager: self.center_container.grid_columnconfigure(0, weight=1) self.filter_combobox.grid(in_=self.center_container, row=0, column=1, sticky="e", pady=(5,0), padx=(5,0)) - self.search_status_label.grid(in_=self.center_container, row=0, column=0, sticky="w", pady=(5,0), padx=(5,0)) + self.search_status_label.grid(in_=self.status_container, row=0, column=0, sticky="w", pady=(5,0), padx=(5,0)) self.right_container.grid_rowconfigure(0, weight=1) self.settings_button.grid(in_=self.right_container, row=0, column=0, sticky="se") @@ -433,7 +434,7 @@ class WidgetManager: self.settings_button.grid(in_=self.right_container, row=0, column=0, sticky="ne", pady=(0,5)) self.center_container.grid_columnconfigure(1, weight=1) - self.search_status_label.grid(in_=self.center_container, row=0, column=0, sticky="w", pady=(5,0), padx=(5,0)) + self.search_status_label.grid(in_=self.status_container, row=0, column=0, sticky="w", pady=(5,0), padx=(5,0)) self.filter_combobox.grid(in_=self.center_container, row=0, column=1, sticky="e", pady=(5,0), padx=(0,5)) self.left_container.grid_rowconfigure(0, weight=1)