How To Dynamically Resize Button Text - Python Tkinter GUI Tutorial #146

in #diy2 months ago

In this video I'll show you how to dynamically resize your button text when you resize your app with Tkinter and Python.

In the last video I showed you how to resize buttons automatically whenever a user changes the size of your app manually. In this video I'll show you how to do the same thing with your text size.

We'll do this by binding the root window Configure to a function that grabs the width and height of the app and uses those measurements to resize the text size of our button.

✅ 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.03
JST 0.028
TRX 0.03
STEEM 0.18
JST 0.028
SBD 3.12