Icons example uses new flow layout
This commit is contained in:
parent
fcac15ac4d
commit
1166850fe2
@ -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 }))
|
||||
|
Loading…
Reference in New Issue
Block a user