From a791f4d8ca5ce022e5fdfa565fb1cff13f694c37 Mon Sep 17 00:00:00 2001 From: Ramforth Date: Mon, 3 Nov 2025 00:29:05 +0100 Subject: [PATCH] Fix: Implement user's proposed gui.py changes and correct theme JSON files --- custom_theme_dark.json | 3 ++- custom_theme_light.json | 3 ++- gui.py | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/custom_theme_dark.json b/custom_theme_dark.json index b534349..1d0fdda 100644 --- a/custom_theme_dark.json +++ b/custom_theme_dark.json @@ -6,7 +6,8 @@ "fg_color": ["#121212", "#121212"] }, "CTkLabel": { - "text_color": ["#ecd7b2", "#ecd7b2"] + "text_color": ["#ecd7b2", "#ecd7b2"], + "fg_color": "transparent" }, "CTkButton": { "fg_color": ["#21498a", "#21498a"], diff --git a/custom_theme_light.json b/custom_theme_light.json index bbeac3e..2259a16 100644 --- a/custom_theme_light.json +++ b/custom_theme_light.json @@ -6,7 +6,8 @@ "fg_color": ["#ecd7b2", "#ecd7b2"] }, "CTkLabel": { - "text_color": ["#000000", "#000000"] + "text_color": ["#000000", "#000000"], + "fg_color": "transparent" }, "CTkButton": { "fg_color": ["#4077d1", "#4077d1"], diff --git a/gui.py b/gui.py index dafe94f..b776ab2 100644 --- a/gui.py +++ b/gui.py @@ -15,8 +15,8 @@ class VideoConverterGUI: self.master = master master.title("Video Converter") # Set a default size to prevent the narrow window - # You can change the "widthxheight" here. - master.geometry("600x750") + # You can change the "widthxheight" and add "+x+y" for position. + master.geometry("600x750+100+100") # --- Set Dark Mode by Default --- customtkinter.set_appearance_mode("Dark") # Modes: "System", "Dark", "Light"