Fix: Implement user's proposed gui.py changes and correct theme JSON files

This commit is contained in:
Ramforth
2025-11-03 00:29:05 +01:00
parent 4f61d86e2a
commit a791f4d8ca
3 changed files with 6 additions and 4 deletions

View File

@@ -6,7 +6,8 @@
"fg_color": ["#121212", "#121212"] "fg_color": ["#121212", "#121212"]
}, },
"CTkLabel": { "CTkLabel": {
"text_color": ["#ecd7b2", "#ecd7b2"] "text_color": ["#ecd7b2", "#ecd7b2"],
"fg_color": "transparent"
}, },
"CTkButton": { "CTkButton": {
"fg_color": ["#21498a", "#21498a"], "fg_color": ["#21498a", "#21498a"],

View File

@@ -6,7 +6,8 @@
"fg_color": ["#ecd7b2", "#ecd7b2"] "fg_color": ["#ecd7b2", "#ecd7b2"]
}, },
"CTkLabel": { "CTkLabel": {
"text_color": ["#000000", "#000000"] "text_color": ["#000000", "#000000"],
"fg_color": "transparent"
}, },
"CTkButton": { "CTkButton": {
"fg_color": ["#4077d1", "#4077d1"], "fg_color": ["#4077d1", "#4077d1"],

4
gui.py
View File

@@ -15,8 +15,8 @@ class VideoConverterGUI:
self.master = master self.master = master
master.title("Video Converter") master.title("Video Converter")
# Set a default size to prevent the narrow window # Set a default size to prevent the narrow window
# You can change the "widthxheight" here. # You can change the "widthxheight" and add "+x+y" for position.
master.geometry("600x750") master.geometry("600x750+100+100")
# --- Set Dark Mode by Default --- # --- Set Dark Mode by Default ---
customtkinter.set_appearance_mode("Dark") # Modes: "System", "Dark", "Light" customtkinter.set_appearance_mode("Dark") # Modes: "System", "Dark", "Light"