Hey ! sticky will override the width and height you specify if your frame/other widget is smaller than the width and height of the row it is in. From what you can see in my video at 2:55, both the pink and green frames do not have the sticky property so they are automatically placed at the center of the row and height. This does not look optimal. So the time where you need to use sticky over width and height is when the dimensions you specified are smaller than the space they are taking just like how those two frames look. But to make it short, sticky will completely override width and height but I still add them as a default size once my window is open. Try this: create a frame inside of your main window (root) and do not specify a size simply run the application. You will see that as soon as your app runs it looks squished. This is why I specify a size as default and then I adjust my app. Hope this helps! Thank you for commenting Don
Great video on the grid, but made overly complicated by the use of ttk. The tutorial would be better for newcomers to tkinter if you used only tk widgets.
I was too lazy to read long arcticles about those to get why am I having issues, those vids are great easy and quick explanations, thanks!
Thanks, that's exactly what I was looking for
Awesome. Thanks.
if I want to create a gui that when I maximize the window will be compatible for all resolutions and screens?
thank you master :-)
Hey Thinking Through code if you're using sticky to you have to specify width and height?
Hey ! sticky will override the width and height you specify if your frame/other widget is smaller than the width and height of the row it is in. From what you can see in my video at 2:55, both the pink and green frames do not have the sticky property so they are automatically placed at the center of the row and height. This does not look optimal. So the time where you need to use sticky over width and height is when the dimensions you specified are smaller than the space they are taking just like how those two frames look. But to make it short, sticky will completely override width and height but I still add them as a default size once my window is open.
Try this: create a frame inside of your main window (root) and do not specify a size simply run the application. You will see that as soon as your app runs it looks squished. This is why I specify a size as default and then I adjust my app.
Hope this helps! Thank you for commenting Don
👍👍
Thx :-)
Great video on the grid, but made overly complicated by the use of ttk. The tutorial would be better for newcomers to tkinter if you used only tk widgets.