Kit Manager: fixed-width columns, only Kit name stretches

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-09-09 08:02:08 +03:00
co-authored by Claude Opus 4.6
parent 703e2faa5c
commit 943ec1a844
2 changed files with 7 additions and 7 deletions
+6 -6
View File
@@ -218,14 +218,14 @@ class KitsPanel:
)
self.table.heading("#0", text="")
self.table.column("#0", width=32, minwidth=32, stretch=False, anchor="center")
for column, heading, width, anchor in [
("name", "Kit name", 200, "w"),
("installed", "Installed", 105, "w"),
("latest", "Latest", 105, "w"),
("action", "Action", 300, "w"),
for column, heading, width, stretch, anchor in [
("name", "Kit name", 200, True, "w"),
("installed", "Installed", 105, False, "w"),
("latest", "Latest", 105, False, "w"),
("action", "Action", 300, False, "w"),
]:
self.table.heading(column, text=heading, anchor=anchor)
self.table.column(column, width=width, anchor=anchor, stretch=(column == "action"))
self.table.column(column, width=width, anchor=anchor, stretch=stretch)
scrollbar = ttk.Scrollbar(self.frame, orient=tk.VERTICAL, command=self.table.yview)
self.table.configure(yscrollcommand=scrollbar.set)