TomSchimansky / CustomTkinter

A modern and customizable python UI-library based on Tkinter
MIT License
11.64k stars 1.09k forks source link

Scrollable Frame after bind does not scroll #2521

Open eyedia opened 4 months ago

eyedia commented 4 months ago

Just place the self.bind("... in the scrollable_frame_example.py in ScrollableLabelButtonFrame class, in init() and notice that it does not scroll anymore!

def __init__(self, master, command=None, **kwargs):
        super().__init__(master, **kwargs)
        self.grid_columnconfigure(0, weight=1)
        ...
        self.bind("<Configure>", self.resize_window)
        ...

...
...

def resize_window(self, event):
        print(event)

I researched/google for a couple of days, but could not find any solution. Thanks a lot!