How To Resize Your App With The Sizegrip Widget - Python Tkinter GUI Tutorial

Published: 16 February 2021
on channel: Codemy.com
14,832
290

In this video I'll show you how to resize your tkinter app with the sizegrip widget!

The sizegrip widget is a small triangle made of dots that fits in the bottom right hand corner of your app. It allows users to click on it and drag the size of your app around, resizing it while doing so.

It's not strictly necessary to use the sizegrip widget to resize an app, but it looks a lot better. It's really just a way to make your gui look a little more modern.

I'll show you how to add the sizegrip widget to your app using both pack and grid.




Check out my Hiking Video:    • North Peak Trail Hike At Red Rock Canyon  


Timecodes
0:00​ - Introduction
0:38 - Birthday Announcement Sale!
3:13 - Import TTK To Use SizeGrip Widget
3:33 - Make App Resizable With root.resizable()
4:18 - Add A Label To Tkinter App
5:29 - Add Sizegrip Widget To Tkinter App
6:01 - Sizegrip With The Grid System
8:01 - Sizegrip With The Pack System
9:06 - Create Status Bar With Sizegrip Widget
10:31 - Put Label In Frame and Add Sizegrip To It
12:22 - Conclusion