Update Uptated-Prototype/PiperTTS-GUI-Test.py
This commit is contained in:
@@ -30,13 +30,13 @@ except Exception as e:
|
||||
print("An exception occurred - when creating input Frame.")
|
||||
# Attempts to create a Controls Frame
|
||||
try:
|
||||
Controls_Box_Frame = Frame(Root_Window)
|
||||
Controls_Box_Frame = ttk.Frame(Root_Window)
|
||||
except Exception as e:
|
||||
print(e, type(e))
|
||||
print("An exception occurred - when creating Controls Frame.")
|
||||
# Attempts to create a Prefrences Frame
|
||||
try:
|
||||
Prefrences_Frame = Frame(Root_Window)
|
||||
Prefrences_Frame = ttk.Frame(Root_Window)
|
||||
except Exception as e:
|
||||
print(e, type(e))
|
||||
print("An exception occurred - when creating Controls Frame.")
|
||||
@@ -58,8 +58,8 @@ except Exception as e:
|
||||
|
||||
# Attempts to create a scrollbar for the Input box
|
||||
try:
|
||||
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 = ttk.Scrollbar(Input_Box_Frame, orient = "vertical", command = Input_Box.yview)
|
||||
Input_Box.configure(yscrollcommand = Main_Text_Scrollbar.set)
|
||||
Main_Text_Scrollbar.place(relx = 1, rely = 0, relheight = 1, anchor = "ne")
|
||||
except Exception as e:
|
||||
print(e, type(e))
|
||||
|
||||
Reference in New Issue
Block a user