Update Uptated-Prototype/PiperTTS-GUI-Test.py

This commit is contained in:
2025-12-13 16:18:31 -08:00
parent f066691b2a
commit 429ad4018f

View File

@@ -22,6 +22,8 @@ Window_PosY = (Screen_Height/2) - (Window_Height/2)
# Sets the GUI geometry and attempts to centers window on screen
Root_Window.geometry(f'{Window_Width}x{Window_Height}+{int(Window_PosX)}+{int(Window_PosY)}')
#Root_Window.minsize(Window_Width, Window_Height)
style = ttk.Style()
style.configure("My.TLabel", foreground="white", background="#404040")
#
try:
@@ -57,7 +59,7 @@ except Exception as e:
print("An exception occurred - when creating input Frame.")
# Attempts to create a Controls Frame
try:
Controls_Box_Frame = ttk.Frame(Root_Window, bg = "#404040")
Controls_Box_Frame = ttk.Frame(Root_Window, style="My.TLabel")
except Exception as e:
print(e, type(e))
print("An exception occurred - when creating Controls Frame.")