diff --git a/Uptated-Prototype/PiperTTS-GUI-Test.py b/Uptated-Prototype/PiperTTS-GUI-Test.py index 4561e70..e1217fc 100644 --- a/Uptated-Prototype/PiperTTS-GUI-Test.py +++ b/Uptated-Prototype/PiperTTS-GUI-Test.py @@ -74,7 +74,7 @@ except Exception as e: try: #Input_Box_Frame.place(x = 0, y = 0, relwidth = 1, relheight = 0.7) #Controls_Box_Frame.place(x = 0, rely = 0.8, relwidth = 1, relheight = 0.7) - Input_Box_Frame.pack(fill = "both", expand = True) + Input_Box_Frame.pack(fill = "both", expand = True, anchor = "center", side = "top") Controls_Box_Frame.pack(fill = "both", anchor = "center", side = "top") except Exception as e: print(e, type(e)) @@ -84,7 +84,7 @@ except Exception as e: try: Input_Box = Text(Input_Box_Frame, selectbackground="yellow", selectforeground="black", undo=True) #Input_Box.pack(padx=5, pady=5, expand = True, fill = "both") - Input_Box.pack(side = LEFT, padx=5, pady=5, expand = True, fill = "both") + Input_Box.pack(side = "left", padx=5, pady=5, expand = True, fill = "both") except Exception as e: print(e, type(e)) print("An exception occurred - when creating input box.") @@ -94,7 +94,7 @@ try: 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") - Main_Text_Scrollbar.pack(side = RIGHT, fill = "y") + Main_Text_Scrollbar.pack(side = "left", fill = "y") except Exception as e: print(e, type(e))