Reverse order of increment/decrement buttons in NumberInput

This commit is contained in:
Sasha Koshka 2024-05-07 20:15:27 -04:00
parent a0fe7bc00f
commit b4ab60df77

View File

@ -31,8 +31,8 @@ func NewNumberInput (value float64) *NumberInput {
}
theme.Apply(box, theme.R("objects", "NumberInput", ""))
box.Add(box.input)
box.Add(box.increment)
box.Add(box.decrement)
box.Add(box.increment)
box.SetLayout(layouts.NewGrid([]bool { true, false, false }, []bool { true }))
box.increment.SetIcon(theme.IconActionIncrement)
box.decrement.SetIcon(theme.IconActionDecrement)