From 429ad4018f47a85695f4069154a9aca76e5eaaa6 Mon Sep 17 00:00:00 2001 From: "DHR.Mike" Date: Sat, 13 Dec 2025 16:18:31 -0800 Subject: [PATCH] Update Uptated-Prototype/PiperTTS-GUI-Test.py --- Uptated-Prototype/PiperTTS-GUI-Test.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Uptated-Prototype/PiperTTS-GUI-Test.py b/Uptated-Prototype/PiperTTS-GUI-Test.py index 595d652..58cd8b9 100644 --- a/Uptated-Prototype/PiperTTS-GUI-Test.py +++ b/Uptated-Prototype/PiperTTS-GUI-Test.py @@ -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.")