From b4ab60df77ed72a0e09823075ced042105d54e65 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Tue, 7 May 2024 20:15:27 -0400 Subject: [PATCH] Reverse order of increment/decrement buttons in NumberInput --- numberinput.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/numberinput.go b/numberinput.go index d7e3dcc..68b5aba 100644 --- a/numberinput.go +++ b/numberinput.go @@ -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)