Browse Source

Fix exclusive groups spacing.

pull/473/head
Nathan Richard 6 years ago
committed by Chris
parent
commit
d2e112910e
2 changed files with 1 additions and 2 deletions
  1. 1
      gooey/gui/components/widgets/checkbox.py
  2. 2
      gooey/gui/components/widgets/radio_group.py

1
gooey/gui/components/widgets/checkbox.py

@ -22,7 +22,6 @@ class CheckBox(TextContainer):
layout = wx.BoxSizer(wx.VERTICAL)
layout.Add(self.label)
layout.AddSpacer(2)
layout.AddStretchSpacer(1)
if self.help_text:
hsizer = wx.BoxSizer(wx.HORIZONTAL)
hsizer.Add(self.widget, 0)

2
gooey/gui/components/widgets/radio_group.py

@ -69,7 +69,7 @@ class RadioGroup(BaseWidget):
sizer = wx.BoxSizer(wx.HORIZONTAL)
sizer.Add(btn,0, wx.RIGHT, 4)
sizer.Add(widget, 1, wx.EXPAND)
boxSizer.Add(sizer, 1, wx.ALL | wx.EXPAND, 5)
boxSizer.Add(sizer, 0, wx.ALL | wx.EXPAND, 5)
self.SetSizer(boxSizer)

Loading…
Cancel
Save