diff --git a/labelcheckbox.go b/labelcheckbox.go index f3f8e1d..c6f67aa 100644 --- a/labelcheckbox.go +++ b/labelcheckbox.go @@ -22,6 +22,8 @@ func NewLabelCheckbox (value bool, text string) *LabelCheckbox { } box.SetRole(tomo.R("objects", "LabelCheckbox")) box.label.SetAttr(tomo.AAlign(tomo.AlignStart, tomo.AlignMiddle)) + box.label.SetSelectable(false) + box.label.SetFocusable(false) box.Add(box.checkbox) box.Add(box.label) box.SetAttr(tomo.ALayout(layouts.Row { false, true }))