Browse Source

make checkbox label clickable

pull/94/head
Alexander Gordeyev 9 years ago
parent
commit
2c11d15f1d
1 changed files with 2 additions and 0 deletions
  1. 2
      gooey/gui/widgets/components.py

2
gooey/gui/widgets/components.py

@ -124,6 +124,8 @@ class CheckBox(BaseGuiComponent):
self.help_msg = self.createHelpMsgWidget(self.panel)
self.help_msg.SetMinSize((0, -1))
self.help_msg.Bind(wx.EVT_LEFT_UP, lambda event: self.widget.SetValue(not self.widget.GetValue()))
vertical_container = wx.BoxSizer(wx.VERTICAL)
vertical_container.Add(self.title)

Loading…
Cancel
Save