enthought / enthought/traitsui
Incorrect SetMinSize called in wx/ui_panel.py's FillPanel.add_items
Open
priority: low
toolkit: WxPython4
- Dominant language
- Python
- Stars
- 306
- Forks
- 99
- PR merge metrics
- No merged PRs in 30d
Description
I have tried to create my own widget through writing a custom editor (in particular, setting the self.control in the init() function). I've encountered this issue where the minimum size of the wx widget is ignored. It seems like at around line 1091 of wx/ui_panel.py (inside the add_items() function) would try to calculate the height purely from the item.height and item.width. Should this take into account of the control.GetMinSize() as well and do a max on the two (control's min height and item's height)?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.