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

▶️ Get The Code

✅ Subscribe To My YouTube Channel:

▶️ See More At:

✅ Join My Facebook Group:

▶️ Learn to Code at
Take $22 off with coupon code: youtube

✅ Buy a Codemy T-Shirt!

Coin Marketplace

STEEM 0.18
TRX 0.03
JST 0.028
TRX 0.03
STEEM 0.18
JST 0.028
SBD 3.12