Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Bahman-sudo authored Jun 9, 2023
1 parent 2cefa76 commit ac63ca3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ def __init__(self):
self.root.geometry("500x200")
self.frame = ctk.CTkFrame(master=self.root)
self.frame.pack(pady=20, padx=60, fill="both", expand=True)
self.switch_var = ctk.StringVar(value="on")
self.switch = ctk.CTkSwitch(master=self.frame, text="Dark Mode", command=self.set_mode, variable=self.switch_var, onvalue="on", offvalue="off")
self.switch.pack(padx=12, pady=8)
self.switch.place(x=0, y=125)
self.create_switch()
self.create_label("self.label", "YTDownloader", 24)
self.textbox = ctk.CTkEntry(master=self.frame, placeholder_text="Enter a YouTube Video URL", width=500, font=("Lucida Sans", 18))
self.textbox.pack(padx=8, pady=12)
Expand Down

0 comments on commit ac63ca3

Please sign in to comment.