Update Uptated-Prototype/PiperTTS-GUI-Test.py
This commit is contained in:
@@ -22,6 +22,8 @@ Window_PosY = (Screen_Height/2) - (Window_Height/2)
|
|||||||
# Sets the GUI geometry and attempts to centers window on screen
|
# 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.geometry(f'{Window_Width}x{Window_Height}+{int(Window_PosX)}+{int(Window_PosY)}')
|
||||||
#Root_Window.minsize(Window_Width, Window_Height)
|
#Root_Window.minsize(Window_Width, Window_Height)
|
||||||
|
style = ttk.Style()
|
||||||
|
style.configure("My.TLabel", foreground="white", background="#404040")
|
||||||
|
|
||||||
#
|
#
|
||||||
try:
|
try:
|
||||||
@@ -57,7 +59,7 @@ except Exception as e:
|
|||||||
print("An exception occurred - when creating input Frame.")
|
print("An exception occurred - when creating input Frame.")
|
||||||
# Attempts to create a Controls Frame
|
# Attempts to create a Controls Frame
|
||||||
try:
|
try:
|
||||||
Controls_Box_Frame = ttk.Frame(Root_Window, bg = "#404040")
|
Controls_Box_Frame = ttk.Frame(Root_Window, style="My.TLabel")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(e, type(e))
|
print(e, type(e))
|
||||||
print("An exception occurred - when creating Controls Frame.")
|
print("An exception occurred - when creating Controls Frame.")
|
||||||
|
|||||||
Reference in New Issue
Block a user