Fix: Correct mode switch text and remove main frame padding

This commit is contained in:
Ramforth
2025-11-03 01:28:29 +01:00
parent 7283966b2e
commit b4815a4a19

4
gui.py
View File

@@ -23,7 +23,7 @@ class VideoConverterGUI:
# Create the main content frame
self.main_frame = customtkinter.CTkFrame(master, fg_color="transparent") # Make it transparent to root
self.main_frame.pack(fill="both", expand=True, padx=10, pady=10) # Add some padding to the main frame
self.main_frame.pack(fill="both", expand=True) # Add some padding to the main frame
# --- Footer Frame (packed into main_frame) ---
self.footer_frame = customtkinter.CTkFrame(self.main_frame, fg_color="transparent")
@@ -52,7 +52,7 @@ class VideoConverterGUI:
self.mode_switch.pack(pady=10, padx=20, anchor="w")
self.mode_switch.select()
self.mode_label = customtkinter.CTkLabel(self.main_frame, text="Dark Mode")
self.mode_label = customtkinter.CTkLabel(self.main_frame)
self.mode_label.pack(pady=0, padx=20, anchor="w")
self.toggle_mode() # Ensure initial mode is set based on switch state