diff --git a/examples/icons/main.go b/examples/icons/main.go index b263c0c..5f812b1 100644 --- a/examples/icons/main.go +++ b/examples/icons/main.go @@ -26,11 +26,7 @@ func (this *Application) Init () error { window, err := nasin.NewApplicationWindow(this, image.Rect(0, 0, 128, 256)) if err != nil { return err } - this.grid = objects.NewSunkenContainer ( - layouts.NewGrid([]bool { - false, false, false, false, false, false, false, false, false, false, false, false, - }, []bool { }), - ) + this.grid = objects.NewSunkenContainer(layouts.FlowVertical) this.resizeIcons(theme.IconSizeSmall) iconButtons := objects.NewInnerContainer(layouts.NewGrid([]bool { true, true, true}, []bool { false }))