ui works now better with rename button

This commit is contained in:
2025-06-27 23:09:21 +02:00
parent c8d439d428
commit ddae246d46
3 changed files with 16 additions and 5 deletions

View File

@ -48,10 +48,10 @@ class Wirepy(tk.Tk):
AppConfig.UI_CONFIG["resizable_window"][0],
AppConfig.UI_CONFIG["resizable_window"][1],
)
"""self.minsize(
self.minsize(
AppConfig.UI_CONFIG["window_size"][0],
AppConfig.UI_CONFIG["window_size"][1],
)"""
)
self.title(AppConfig.UI_CONFIG["window_title"])
self.tk.call("source", f"{AppConfig.SYSTEM_PATHS['tcl_path']}/water.tcl")
@ -301,7 +301,7 @@ class FrameWidgets(ttk.Frame):
# Rename Frame
self.rename_frame = ttk.Frame(self)
self.rename_frame.grid(column=2, padx=10, row=3, sticky="nsew")
self.rename_frame.columnconfigure(0, weight=1)
self.rename_frame.columnconfigure(0, weight=2)
self.rename_frame.columnconfigure(1, weight=1)
# Label to Show active Tunnel
@ -415,6 +415,7 @@ class FrameWidgets(ttk.Frame):
text=_("Rename"),
state="disable",
command=self.tl_rename,
width=15,
)
self.btn_rename.grid(column=1, row=0, pady=10, sticky="nsew")