Compare commits
2 Commits
3219cb712c
...
611705fa0d
Author | SHA1 | Date | |
---|---|---|---|
611705fa0d | |||
16645eeeda |
@ -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 {
|
||||
|
2
go.mod
2
go.mod
@ -2,4 +2,4 @@ module git.tebibyte.media/tomo/objects
|
||||
|
||||
go 1.20
|
||||
|
||||
require git.tebibyte.media/tomo/tomo v0.45.0
|
||||
require git.tebibyte.media/tomo/tomo v0.46.1
|
||||
|
4
go.sum
4
go.sum
@ -1,2 +1,2 @@
|
||||
git.tebibyte.media/tomo/tomo v0.45.0 h1:fQH0WIPidW275hOq9dE6R7p064xG1RGx2QU68Avlr84=
|
||||
git.tebibyte.media/tomo/tomo v0.45.0/go.mod h1:WrtilgKB1y8O2Yu7X4mYcRiqOlPR8NuUnoA/ynkQWrs=
|
||||
git.tebibyte.media/tomo/tomo v0.46.1 h1:/8fT6I9l4TK529zokrThbNDHGRvUsNgif1Zs++0PBSQ=
|
||||
git.tebibyte.media/tomo/tomo v0.46.1/go.mod h1:WrtilgKB1y8O2Yu7X4mYcRiqOlPR8NuUnoA/ynkQWrs=
|
||||
|
Loading…
x
Reference in New Issue
Block a user