Update Uptated-Prototype/tkinter-Test.py
This commit is contained in:
@@ -31,16 +31,18 @@ except Exception as e:
|
||||
print(e, type(e))
|
||||
print("An exception occurred - when placing Frames.")
|
||||
|
||||
My_Test_Label = Label(Input_Box_Frame, text="First Label", background = "red", justify = "center")
|
||||
My_Test_Label2 = Label(Controls_Box_Frame, text="Second Label", background = "blue", justify = "center")
|
||||
My_Test_Label3 = Label(Controls_Box_Frame, text="Third Label", background = "green", justify = "center")
|
||||
My_Test_Label = Label(Input_Box_Frame, text="First Label", background = "#8B0000", justify = "center")
|
||||
My_Test_Label2 = Label(Controls_Box_Frame, text="Second Label", background = "#00008B", justify = "center")
|
||||
My_Test_Label3 = Label(Controls_Box_Frame, text="Third Label", background = "#006400", justify = "center")
|
||||
My_Test_Label4 = Label(Controls_Box_Frame, text="Fourth Label", background = "yellow", justify = "center")
|
||||
My_Test_Label5 = Label(Controls_Box_Frame, text="Am i Centered?", background = "#FF8C00", justify = "center")
|
||||
|
||||
|
||||
My_Test_Label.pack(fill = "both", expand = True)
|
||||
My_Test_Label2.pack(side = "left")
|
||||
My_Test_Label3.pack(side = "left")
|
||||
My_Test_Label4.pack(side = "left")
|
||||
My_Test_Label2.grid(row=1, column=0)
|
||||
My_Test_Label3.grid(row=1, column=1)
|
||||
My_Test_Label4.grid(row=1, column=2)
|
||||
My_Test_Label5.grid(row=0, column=0, columnspan=3)
|
||||
|
||||
Root_Window.mainloop()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user