Fix: Explicitly set empty text for CTkSwitch to suppress default label

This commit is contained in:
Ramforth
2025-11-03 01:34:32 +01:00
parent b4815a4a19
commit 841bbac9d4

2
gui.py
View File

@@ -48,7 +48,7 @@ class VideoConverterGUI:
self.progress.set(0)
# --- Mode Switch (packed into main_frame) ---
self.mode_switch = customtkinter.CTkSwitch(self.main_frame, command=self.toggle_mode)
self.mode_switch = customtkinter.CTkSwitch(self.main_frame, text="", command=self.toggle_mode)
self.mode_switch.pack(pady=10, padx=20, anchor="w")
self.mode_switch.select()