Lucas Meier Lucas Meier - 1 year ago 68
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 Source

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)
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download