Skip to content
Snippets Groups Projects
Commit 48b37437 authored by eric pellegrini's avatar eric pellegrini
Browse files

The checklist of the ComboCheckBox is now expandable when popped up

parent d06a82bd
Branches bugfix-uncheckable_items_in_checkable_combo_box
Tags
1 merge request!31Bugfix uncheckable items in checkable combo box
Pipeline #4265 passed
......@@ -40,10 +40,11 @@ class ComboCheckbox(wx.CheckListBox,wx.combo.ComboPopup):
def GetControl(self):
return self
def GetAdjustedSize(self, minWidth, prefHeight, maxHeight):
return self.GetSize()
size = self.GetControl().GetSize()
return wx.Size(minWidth, size[1])
def GetStringValue(self):
return self.GetCheckedStrings()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment