diff --git a/labelcheckbox.go b/labelcheckbox.go index fe938b0..3f0b5e4 100644 --- a/labelcheckbox.go +++ b/labelcheckbox.go @@ -25,7 +25,7 @@ func NewLabelCheckbox (value bool, text string) *LabelCheckbox { box.label.SetAlign(tomo.AlignStart, tomo.AlignMiddle) box.Add(box.checkbox) box.Add(box.label) - box.SetLayout(layouts.NewGrid([]bool { false, true }, []bool { true })) + box.SetLayout(layouts.NewGrid([]bool { false, true }, []bool { false })) box.OnMouseUp(box.handleMouseUp) box.label.OnMouseUp(box.handleMouseUp)