Compare commits

..

No commits in common. "611705fa0d179ce6b92a8da7eb77e871b7cce0dd" and "3219cb712ce34b6d63a54ecd58c0a90314abf3f0" have entirely different histories.

3 changed files with 6 additions and 4 deletions

View File

@ -30,7 +30,9 @@ func NewDropdown (items ...string) *Dropdown {
dropdown.SetRole(tomo.R("objects", "Dropdown"))
dropdown.SetAttr(tomo.ALayout(layouts.Row { true, false }))
dropdown.Add(dropdown.label)
dropdown.Add(NewIcon(tomo.IconListChoose, tomo.IconSizeSmall))
// TODO: replace IconValueDecrement with a drop-down expand icon once
// we get that
dropdown.Add(NewIcon(tomo.IconValueDecrement, tomo.IconSizeSmall))
dropdown.SetItems(items...)
if len(items) > 0 {

2
go.mod
View File

@ -2,4 +2,4 @@ module git.tebibyte.media/tomo/objects
go 1.20
require git.tebibyte.media/tomo/tomo v0.46.1
require git.tebibyte.media/tomo/tomo v0.45.0

4
go.sum
View File

@ -1,2 +1,2 @@
git.tebibyte.media/tomo/tomo v0.46.1 h1:/8fT6I9l4TK529zokrThbNDHGRvUsNgif1Zs++0PBSQ=
git.tebibyte.media/tomo/tomo v0.46.1/go.mod h1:WrtilgKB1y8O2Yu7X4mYcRiqOlPR8NuUnoA/ynkQWrs=
git.tebibyte.media/tomo/tomo v0.45.0 h1:fQH0WIPidW275hOq9dE6R7p064xG1RGx2QU68Avlr84=
git.tebibyte.media/tomo/tomo v0.45.0/go.mod h1:WrtilgKB1y8O2Yu7X4mYcRiqOlPR8NuUnoA/ynkQWrs=