Compare commits
6 Commits
caa0635b88
...
2.07.0225
Author | SHA1 | Date | |
---|---|---|---|
35fa47fa89 | |||
fa0fb7ae31 | |||
5a2aebe924 | |||
c509fdbd18 | |||
b0e5da3e09 | |||
fd957d9742 |
Binary file not shown.
@@ -221,7 +221,7 @@ class FrameWidgets(ttk.Frame):
|
|||||||
row=0,
|
row=0,
|
||||||
sticky="w",
|
sticky="w",
|
||||||
padx=(5, 20),
|
padx=(5, 20),
|
||||||
pady=(10, 0),
|
pady=(15, 5),
|
||||||
ipady=4,
|
ipady=4,
|
||||||
)
|
)
|
||||||
self.version_label.grid(column=1, row=1, sticky="w", padx=(5, 20), pady=(0, 10))
|
self.version_label.grid(column=1, row=1, sticky="w", padx=(5, 20), pady=(0, 10))
|
||||||
@@ -237,11 +237,11 @@ class FrameWidgets(ttk.Frame):
|
|||||||
|
|
||||||
# Frame for Listbox and Scrollbar
|
# Frame for Listbox and Scrollbar
|
||||||
self.list_container_frame = ttk.Frame(self)
|
self.list_container_frame = ttk.Frame(self)
|
||||||
self.list_container_frame.grid(column=1, row=2, sticky="nsew", pady=3)
|
self.list_container_frame.grid(column=1, row=2, sticky="nsew")
|
||||||
self.list_container_frame.columnconfigure(1, weight=1)
|
self.list_container_frame.columnconfigure(1, weight=1)
|
||||||
self.list_container_frame.rowconfigure(2, weight=1)
|
self.list_container_frame.rowconfigure(2, weight=1)
|
||||||
self.list_frame = ttk.LabelFrame(self.list_container_frame, text=_("Tunnels"))
|
self.list_frame = ttk.LabelFrame(self.list_container_frame, text=_("Tunnels"))
|
||||||
self.list_frame.grid(column=0, row=0, sticky="nsew", padx=10, ipady=25)
|
self.list_frame.grid(column=0, row=0, sticky="nsew", padx=10, ipady=20)
|
||||||
# Listbox with Scrollbar
|
# Listbox with Scrollbar
|
||||||
self.list_box = tk.Listbox(self.list_frame, selectmode="single")
|
self.list_box = tk.Listbox(self.list_frame, selectmode="single")
|
||||||
self.list_box.config(
|
self.list_box.config(
|
||||||
|
@@ -67,7 +67,7 @@ class AppConfig:
|
|||||||
UI_CONFIG: Dict[str, Any] = {
|
UI_CONFIG: Dict[str, Any] = {
|
||||||
"window_title": "",
|
"window_title": "",
|
||||||
"window_title2": "LogViewer",
|
"window_title2": "LogViewer",
|
||||||
"window_size": (590, 450),
|
"window_size": (590, 460),
|
||||||
"font_family": "Ubuntu",
|
"font_family": "Ubuntu",
|
||||||
"font_size": 11,
|
"font_size": 11,
|
||||||
"resizable_window": (True, True),
|
"resizable_window": (True, True),
|
||||||
@@ -210,7 +210,7 @@ class Image:
|
|||||||
self.images[image_key] = photo
|
self.images[image_key] = photo
|
||||||
return photo
|
return photo
|
||||||
except tk.TclError as e:
|
except tk.TclError as e:
|
||||||
print(f"{LocaleStrings.MSGP['fail_load_image']}{path}: {e}")
|
print(f"Fail to load image {path}: {e}")
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# Return None if no image found
|
# Return None if no image found
|
||||||
|
Reference in New Issue
Block a user