ppizarror / pygame-menu

A menu for pygame. Simple, and easy to use
https://pygame-menu.readthedocs.io/
Other
544 stars 141 forks source link

Adding frame to first column crashes when pack() is called. #436

Closed bluefish2020 closed 1 year ago

bluefish2020 commented 1 year ago

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: expected_2_column_menu_with_frame

ppizarror commented 1 year ago

I'll release this critical issue in v4.3.3. Already been published to PyPI. Thanks!