ui works now better with rename button
This commit is contained in:
@ -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")
|
||||
|
||||
|
Reference in New Issue
Block a user