How To Position Label Text - Python Tkinter GUI Tutorial #133

in #python4 years ago

In this video I'll show you how to position label text inside of the widget. We'll look at justifying the text to the left, right, and center.

To move the position of text around inside of a widget, we use the justify tag inside the widget. Justify has three options; left, right, and center.

Center is the default for the widget, so if you want your text centered, you don't have to do anything.

In this video we'll also look at using line breaks \n to put text of different lines inside the widget.

✅ Watch The tKinter Playlist
http://bit.ly/2UFLKgj

▶️ Get The Code
https://bit.ly/3fLFQ8p

✅ Subscribe To My YouTube Channel:
http://bit.ly/2IGzvOR

▶️ See More At:
https://Codemy.com

✅ Join My Facebook Group:
http://bit.ly/2GFmOBz

▶️ Learn to Code at https://Codemy.com
Take $22 off with coupon code: youtube

✅ Buy a Codemy T-Shirt!
http://bit.ly/2VC9WUN

Coin Marketplace

STEEM 0.18
TRX 0.15
JST 0.028
BTC 62928.79
ETH 2465.26
USDT 1.00
SBD 2.55