Scrollable Frame does not resize properly using tkinter in Python
Based on the example from Dynamically changing scrollregion of a canvas in Tkinter , I am trying to implement a Frame where you can add and delete entries in a scrollable Frame using tkinter. My Problem is that the Frame holding items does not resize after deleting entries. When adding entries, it resizes correctly. I call update_layout() in both cases: from tkinter import * class ScrollableContainer(Frame): """A scrollable container that can contain a number of messages""" def __init__(self, master, **kwargs): Frame.__init__(self, master, **kwargs) #holds canvas & scrollbars # configure row