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.")