Answers for "left align text tkinter"

1

how to align text in tkinter

Label(root, text='Pack', anchor='w').pack(fill='both')
# anchor='w' ---- w  for left
# anchor='e' ---- e  for right
# anchor='center' ---- center  for center
Posted by: Guest on May-31-2021
-1

tkinter pack align left

Label(root, text='Pack', anchor='w').pack(fill='both')
Posted by: Guest on March-22-2021

Python Answers by Framework

Browse Popular Code Answers by Language