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

This commit is contained in:
2025-12-13 12:49:14 -08:00
parent 0d867bb471
commit 32efa33c04

View File

@@ -24,7 +24,7 @@ Root_Window.geometry(f'{Window_Width}x{Window_Height}+{int(Window_PosX)}+{int(Wi
# Attempts to create a Input Frame # Attempts to create a Input Frame
try: try:
Input_Box_Frame = Frame(Root_Window) Input_Box_Frame = ttk.Frame(Root_Window)
except Exception as e: except Exception as e:
print(e, type(e)) print(e, type(e))
print("An exception occurred - when creating input Frame.") print("An exception occurred - when creating input Frame.")
@@ -58,7 +58,7 @@ except Exception as e:
# Attempts to create a scrollbar for the Input box # Attempts to create a scrollbar for the Input box
try: try:
Main_Text_Scrollbar = Scrollbar(Input_Box_Frame, command = Input_Box_Frame.yview) Main_Text_Scrollbar = ttk.Scrollbar(Input_Box_Frame, command = Input_Box_Frame.yview)
Input_Box_Frame.configure(yscrollcommand = Main_Text_Scrollbar.set) Input_Box_Frame.configure(yscrollcommand = Main_Text_Scrollbar.set)
Main_Text_Scrollbar.place(relx = 1, rely = 0, relheight = 1, anchor = "ne") Main_Text_Scrollbar.place(relx = 1, rely = 0, relheight = 1, anchor = "ne")
except Exception as e: except Exception as e: