Introduce new layouts.Grid construct
This commit is contained in:
@@ -32,7 +32,7 @@ func NewNumberInput (value float64) *NumberInput {
|
||||
box.Add(box.input)
|
||||
box.Add(box.decrement)
|
||||
box.Add(box.increment)
|
||||
box.SetLayout(layouts.NewGrid([]bool { true, false, false }, []bool { true }))
|
||||
box.SetLayout(layouts.Row { true, false, false })
|
||||
box.increment.SetIcon(tomo.IconValueIncrement)
|
||||
box.decrement.SetIcon(tomo.IconValueDecrement)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user