From 0fde61815764bcf6ee8f3dee7b3be44592c542c3 Mon Sep 17 00:00:00 2001 From: superdimensional Date: Wed, 28 Apr 2021 23:28:44 -0400 Subject: [PATCH] adjusted button layout and size --- ben10.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ben10.py b/ben10.py index b4dd946..88d555a 100644 --- a/ben10.py +++ b/ben10.py @@ -17,14 +17,16 @@ omnitrix_button = Button(root, image=omnitrix_screen, bg="#70b607", omnitrix_button.place(relx=0.5, rely=0.5, anchor=CENTER) -quit_button = Button(root, text="X", fg="white",command=root.destroy, highlightthickness=0, bd=0) -quit_button.place(rely=1.0, relx=1.0, x=0, y=0, anchor=SE) -omnitrix_left = Button(root, text="<", fg="white", bg="black" ,command=count_down, highlightthickness=0, bd=0, height = 20) -omnitrix_right = Button(root, text=">", fg="white", bg="black" ,command=count_up, highlightthickness=0, bd=0, height = 20) +omnitrix_left = Button(root, text="<", fg="white", bg="black" ,command=count_down, highlightthickness=0, bd=0, height = 40, width= 4) +omnitrix_right = Button(root, text=">", fg="white", bg="black" ,command=count_up, highlightthickness=0, bd=0, height = 40, width= 4) omnitrix_left.pack(side="left") omnitrix_right.pack(side="right") + +quit_button = Button(root, text="X", fg="white",command=root.destroy, highlightthickness=0, bd=0, width= 7) +quit_button.pack(side="bottom") + root.mainloop()