From 943ec1a84406dc15634e4806d0ea396b6ec5af47 Mon Sep 17 00:00:00 2001 From: "arda.aydin@ontrol.com.tr" Date: Wed, 9 Sep 2026 08:02:08 +0300 Subject: [PATCH] Kit Manager: fixed-width columns, only Kit name stretches Co-Authored-By: Claude Opus 4.6 --- app_state.py | 2 +- manage_kits.py | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app_state.py b/app_state.py index 4a25ac0..f13af90 100644 --- a/app_state.py +++ b/app_state.py @@ -8,7 +8,7 @@ so later rebinding would only ever be seen by the module that did it. import configparser import os -VERSION = "0.0.0.066" +VERSION = "0.0.0.067" PROPERTIES_FILE = os.path.join(os.path.dirname(os.path.abspath(__file__)), "editor.properties") DEFAULT_GRID_SIZE = 10 DEFAULT_ADD_TIMESTAMP = True diff --git a/manage_kits.py b/manage_kits.py index 6088185..40ca1b2 100644 --- a/manage_kits.py +++ b/manage_kits.py @@ -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)