Reverse order of increment/decrement buttons in NumberInput
This commit is contained in:
parent
a0fe7bc00f
commit
b4ab60df77
@ -31,8 +31,8 @@ func NewNumberInput (value float64) *NumberInput {
|
|||||||
}
|
}
|
||||||
theme.Apply(box, theme.R("objects", "NumberInput", ""))
|
theme.Apply(box, theme.R("objects", "NumberInput", ""))
|
||||||
box.Add(box.input)
|
box.Add(box.input)
|
||||||
box.Add(box.increment)
|
|
||||||
box.Add(box.decrement)
|
box.Add(box.decrement)
|
||||||
|
box.Add(box.increment)
|
||||||
box.SetLayout(layouts.NewGrid([]bool { true, false, false }, []bool { true }))
|
box.SetLayout(layouts.NewGrid([]bool { true, false, false }, []bool { true }))
|
||||||
box.increment.SetIcon(theme.IconActionIncrement)
|
box.increment.SetIcon(theme.IconActionIncrement)
|
||||||
box.decrement.SetIcon(theme.IconActionDecrement)
|
box.decrement.SetIcon(theme.IconActionDecrement)
|
||||||
|
Loading…
Reference in New Issue
Block a user