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:
VERSION = "1.1.3"
APP_NAME = "LX Tools Installer"
WINDOW_WIDTH = 500
WINDOW_HEIGHT = 720
APP_NAME = "Lunix Tools Installer"
WINDOW_WIDTH = 450
WINDOW_HEIGHT = 580
# Working directory
WORK_DIR = os.getcwd()
@ -1099,7 +1099,7 @@ class LXToolsGUI:
self._create_header()
# 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))
# Create tabs
@ -1150,6 +1150,7 @@ class LXToolsGUI:
font=("Helvetica", 14, "bold"),
fg="white",
bg="#2c3e50",
pady=4,
).pack(anchor="w")
tk.Label(
@ -1427,7 +1428,7 @@ class LXToolsGUI:
# Log controls
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_btn = ttk.Button(
@ -1504,7 +1505,7 @@ class LXToolsGUI:
# Create buttons
install_btn = ttk.Button(
button_frame,
text="Install/Update Selected",
text="Install/Update",
command=self.install_selected,
style="Install.TButton",
padding=8,
@ -1513,7 +1514,7 @@ class LXToolsGUI:
uninstall_btn = ttk.Button(
button_frame,
text="Uninstall Selected",
text="Uninstall",
command=self.uninstall_selected,
style="Uninstall.TButton",
padding=8,