diff --git a/labelswatch.go b/labelswatch.go index f70d7bc..b1f2d5e 100644 --- a/labelswatch.go +++ b/labelswatch.go @@ -24,6 +24,8 @@ func NewLabelSwatch (value color.Color, text string) *LabelSwatch { box.SetRole(tomo.R("objects", "LabelSwatch")) box.swatch.label = text box.label.SetAttr(tomo.AAlign(tomo.AlignStart, tomo.AlignMiddle)) + box.label.SetSelectable(false) + box.label.SetFocusable(false) box.Add(box.swatch) box.Add(box.label) box.SetAttr(tomo.ALayout(layouts.Row { false, true }))