Fix: Explicitly set empty text for CTkSwitch to suppress default label
This commit is contained in:
2
gui.py
2
gui.py
@@ -48,7 +48,7 @@ class VideoConverterGUI:
|
|||||||
self.progress.set(0)
|
self.progress.set(0)
|
||||||
|
|
||||||
# --- Mode Switch (packed into main_frame) ---
|
# --- 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.pack(pady=10, padx=20, anchor="w")
|
||||||
self.mode_switch.select()
|
self.mode_switch.select()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user