Fix: Implement user's proposed gui.py changes and correct theme JSON files
This commit is contained in:
@@ -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"],
|
||||||
|
|||||||
@@ -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
4
gui.py
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user