'Tkinter- Prevent frames from flattening the last children?

I have a frame that contains several children one above the other (with pack) but the last one does not fit completely inside the frame and is automatically flattened.

Is there a way to prevent this and let the child go out of the frame without being resized?

actions_frame = tk.Frame(right_frame)
actions_frame.grid(column=0, row=4, sticky='nsew')

for i in range(1,30):
   action_button = tk.Button(actions_frame, text='Action ' + str(i))
   action_button.pack(fill=tk.X)

1



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source