windowsize ok

This commit is contained in:
2025-06-07 01:12:13 +02:00
parent 6e9b6a3693
commit d91c231723

View File

@ -18,9 +18,9 @@ from datetime import datetime
class LXToolsAppConfig: class LXToolsAppConfig:
VERSION = "1.1.3" VERSION = "1.1.3"
APP_NAME = "LX Tools Installer" APP_NAME = "Lunix Tools Installer"
WINDOW_WIDTH = 500 WINDOW_WIDTH = 450
WINDOW_HEIGHT = 720 WINDOW_HEIGHT = 580
# Working directory # Working directory
WORK_DIR = os.getcwd() WORK_DIR = os.getcwd()
@ -1099,7 +1099,7 @@ class LXToolsGUI:
self._create_header() self._create_header()
# Create notebook (tabs) # Create notebook (tabs)
self.notebook = ttk.Notebook(self.root) self.notebook = ttk.Notebook(self.root, height=300)
self.notebook.pack(fill="both", expand=True, padx=15, pady=(10, 10)) self.notebook.pack(fill="both", expand=True, padx=15, pady=(10, 10))
# Create tabs # Create tabs
@ -1150,6 +1150,7 @@ class LXToolsGUI:
font=("Helvetica", 14, "bold"), font=("Helvetica", 14, "bold"),
fg="white", fg="white",
bg="#2c3e50", bg="#2c3e50",
pady=4,
).pack(anchor="w") ).pack(anchor="w")
tk.Label( tk.Label(
@ -1427,7 +1428,7 @@ class LXToolsGUI:
# Log controls # Log controls
log_controls = tk.Frame(log_frame) log_controls = tk.Frame(log_frame)
log_controls.pack(fill="x", padx=10, pady=(0, 10)) log_controls.pack(fill="x", padx=10, pady=(0, 0))
# Clear log button # Clear log button
clear_log_btn = ttk.Button( clear_log_btn = ttk.Button(
@ -1504,7 +1505,7 @@ class LXToolsGUI:
# Create buttons # Create buttons
install_btn = ttk.Button( install_btn = ttk.Button(
button_frame, button_frame,
text="Install/Update Selected", text="Install/Update",
command=self.install_selected, command=self.install_selected,
style="Install.TButton", style="Install.TButton",
padding=8, padding=8,
@ -1513,7 +1514,7 @@ class LXToolsGUI:
uninstall_btn = ttk.Button( uninstall_btn = ttk.Button(
button_frame, button_frame,
text="Uninstall Selected", text="Uninstall",
command=self.uninstall_selected, command=self.uninstall_selected,
style="Uninstall.TButton", style="Uninstall.TButton",
padding=8, padding=8,