Skip to content
Advertisement

How to insert scrollbar into canvas filled with buttons?

I’m trying to insert a scrollbar into a canvas filled with buttons (where, buttons can be switched to clickable text as well).

With the code below, the window seems OK. screencapture1

However, when I uncomment the lines with the scrollbar, the window geometry scrambles. screencapture2

Can anybody give a hand to figure out what’s wrong with the code?

System: Windows 10, python 3.9.6.

JavaScript

Advertisement

Answer

See comments in code as additional to the link I have provided. Also see why update is considered harmfull and how do I organize my tkinter gui for more details.

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement