From 2db2d9e120406e5d242f191de27364fa8c32a74b Mon Sep 17 00:00:00 2001 From: jimmy Date: Sun, 30 Nov 2025 17:07:21 +1300 Subject: [PATCH] Fix bottom menu buttons visibility by adjusting packing order --- src/main.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.py b/src/main.py index d5f8a8e..cfa8a40 100644 --- a/src/main.py +++ b/src/main.py @@ -109,13 +109,13 @@ class App: style.map("TNotebook.Tab", background=[("selected", active_bg_color)], foreground=[("selected", fg_color)]) style.configure("TFrame", background=bg_color) - # Tab management buttons frame (packed at bottom so it stays visible) + # Tab management buttons frame (packed at bottom first to ensure it's always visible) tab_management_frame = tk.Frame(self.root, bg=bg_color) tab_management_frame.pack(side=tk.BOTTOM, fill=tk.X, padx=self.scale_size(10), pady=self.scale_size(5)) - - # Create Notebook for tabs (packed before buttons so it takes remaining space) + + # Create Notebook for tabs (packed after buttons, takes remaining space) self.notebook = ttk.Notebook(self.root) - self.notebook.pack(expand=True, fill="both", before=tab_management_frame) + self.notebook.pack(expand=True, fill="both") add_tab_btn = tk.Button( tab_management_frame,