exit from Tkinter mainloop Python 2.7

Christian Gollwitzer auriocus at gmx.de
Tue Feb 23 17:33:17 EST 2016


Am 23.02.16 um 22:39 schrieb kevind0718 at gmail.com:
> lblTop = Label(root1, text= '      Enter Values Below', font="Helvetica 14").grid(row=0, column=0, columnspan=2 , pady=5)
> ##lblTop.pack(side = TOP)
>
> lblDB = Label(root1,    text= '    Weight').grid(row=1, column=0 )
> lblPWord = Label(root1, text= '    Height').grid(row=2,column=0)

Also here, the labels look odd. Have you tried to do some alignment of 
the text with spaces? Remove the sapces and look at the "justify" option 
of the label widget and the "sticky" option for grid.

	Christian


More information about the Python-list mailing list