Skip to content

Commit 3dc46ff

Browse files
committed
Fix some bugs
1 parent f1d9583 commit 3dc46ff

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

app.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@ class YTConverterApp(ctk.CTk):
1313
def __init__(self):
1414
super().__init__()
1515
self.title("YT Converter")
16-
self.geometry("520x420")
17-
self.resizable(False, False)
16+
self.geometry("520x500")
17+
self.resizable(True, True)
1818

1919
# Title
20-
ctk.CTkLabel(self, text="YouTube Converter", font=ctk.CTkFont(size=22, weight="bold")).pack(pady=(24, 4))
20+
ctk.CTkLabel(self, text="YouTube Converter", font=ctk.CTkFont(size=30, weight="bold")).pack(pady=(24, 4))
21+
ctk.CTkLabel(self, text="Made by TheNullAstris", text_color="#c084fc",
22+
font=ctk.CTkFont(size=20)).pack(pady=(4, 0))
2123
ctk.CTkLabel(self, text="Download videos or audio from YouTube", text_color="gray").pack()
2224

2325
# URL input
@@ -53,12 +55,13 @@ def __init__(self):
5355
# Button
5456
self.btn = ctk.CTkButton(self, text="⬇ Convert & Download", width=220, height=44,
5557
font=ctk.CTkFont(size=14, weight="bold"), command=self.start_download)
56-
self.btn.pack(pady=18)
58+
self.btn.pack(pady=10)
5759

5860
# Output folder label
5961
ctk.CTkLabel(self, text=f"Saves to: {DOWNLOAD_DIR}", text_color="gray",
6062
font=ctk.CTkFont(size=11)).pack()
6163

64+
6265
def start_download(self):
6366
url = self.url_entry.get().strip()
6467
if not url:

0 commit comments

Comments
 (0)