From 611705fa0d179ce6b92a8da7eb77e871b7cce0dd Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Fri, 16 Aug 2024 18:01:08 -0400 Subject: [PATCH] Change icon on dropdown --- dropdown.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dropdown.go b/dropdown.go index 391e82b..e99163f 100644 --- a/dropdown.go +++ b/dropdown.go @@ -30,9 +30,7 @@ func NewDropdown (items ...string) *Dropdown { dropdown.SetRole(tomo.R("objects", "Dropdown")) dropdown.SetAttr(tomo.ALayout(layouts.Row { true, false })) dropdown.Add(dropdown.label) - // TODO: replace IconValueDecrement with a drop-down expand icon once - // we get that - dropdown.Add(NewIcon(tomo.IconValueDecrement, tomo.IconSizeSmall)) + dropdown.Add(NewIcon(tomo.IconListChoose, tomo.IconSizeSmall)) dropdown.SetItems(items...) if len(items) > 0 {