Environment information
Describe your environment information, such as:
SO: osx 12.6
python version: v3.9.6
pygame version: v2.1.2
pygame-menu version: v4.3.2
Describe the bug
Creating a menu with 2 columns and adding a frame (v or h) throws a KeyError during frame.pack()
To Reproduce
Create a Menu with columns=2, rows=1 then
frame = menu.add.frame_h(width=250, height=100, border_width=3)
label = menu.add.label('Col One')
frame.pack(label)
Environment information Describe your environment information, such as:
Describe the bug Creating a menu with 2 columns and adding a frame (v or h) throws a KeyError during frame.pack()
To Reproduce Create a Menu with columns=2, rows=1 then frame = menu.add.frame_h(width=250, height=100, border_width=3) label = menu.add.label('Col One') frame.pack(label)
frame_crash.py.gz
Expected behavior Expected a two column menu with a frame on the left: