Lucas Meier Lucas Meier - 5 months ago 7
Python Question

How to put multi lines i?

I am planning to put one line text

So, how can I get the text started from TOP-LEFT?

Hope you understand my english and my problem.

Thank you all.

Answer

The label will only take as much room as it needs to contain the text, when the root window is resized the label itself will position itself top center even if the text inside it is justified=LEFT

To position the label to the left side of the root window use anchor=W when packing it.

Label_1.pack(side=TOP, anchor=W)