Update Uptated-Prototype/PiperTTS-GUI-Test.py
This commit is contained in:
@@ -24,7 +24,7 @@ Root_Window.geometry(f'{Window_Width}x{Window_Height}+{int(Window_PosX)}+{int(Wi
|
||||
|
||||
# Attempts to create a Input Frame
|
||||
try:
|
||||
Input_Box_Frame = Frame(Root_Window)
|
||||
Input_Box_Frame = ttk.Frame(Root_Window)
|
||||
except Exception as e:
|
||||
print(e, type(e))
|
||||
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
|
||||
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)
|
||||
Main_Text_Scrollbar.place(relx = 1, rely = 0, relheight = 1, anchor = "ne")
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user