LabelCheckbox sets its label as not selectable
This commit is contained in:
parent
e0f4ecb509
commit
572e0c49af
@ -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 }))
|
||||
|
Loading…
Reference in New Issue
Block a user