
Here is a screenshot of a program I am writing using Python Tkinter. I use ttk.Entry widget to get the user input.
I would like to know how to center the input in the Entry (as you can see, the input is now stuck to the left part of the widget)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Entry widgets take the option
justify, which for centered text should be'center'. When creating the widget, do something like