v1.9.35: eliminate CTkTabview internal top spacing to raise tabs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
chrome-storm-c442
2026-03-06 05:53:55 -05:00
parent 73bcac8a55
commit 33e15827ce
3 changed files with 5 additions and 3 deletions

View File

@@ -170,8 +170,8 @@ class App(ctk.CTk):
self._paned.add(self._main_frame, minsize=500)
# Header bar (language + about)
header_bar = ctk.CTkFrame(self._main_frame, fg_color="transparent", height=36)
header_bar.pack(fill="x", padx=10, pady=(4, 0))
header_bar = ctk.CTkFrame(self._main_frame, fg_color="transparent", height=40)
header_bar.pack(fill="x", padx=10, pady=(8, 0))
header_bar.pack_propagate(False)
# Language selector
@@ -250,6 +250,8 @@ class App(ctk.CTk):
# Create new tabview
self.tabview = ctk.CTkTabview(self._main_frame, command=self._on_tab_changed)
self.tabview._outer_spacing = 0
self.tabview._configure_grid()
self.tabview.pack(fill="both", expand=True, padx=10, pady=(0, 10))
for key in self._tab_keys: