// Start is called once at the start of the demo.
Start is called once at the start of the demo.
// Start is called once at the start of the demo .
func (t *GuiPanelModal) Start(a *app.App) {
	a.DemoPanel().SetRenderable(true)
	a.DemoPanel().SetEnabled(true)
	p1 := t.createPanel(a)
	p1.SetPosition(10, 10)
	a.DemoPanel().Add(p1)
	t.panels = append(t.panels, p1)
	p2 := t.createPanel(a)
	p2.SetPosition(p1.Position().X, p1.Position().Y+p1.Height()+40)
	a.DemoPanel().Add(p2)
	t.panels = append(t.panels, p2)
	p3 := t.createPanel(a)
	p3.SetPosition(p2.Position().X, p2.Position().Y+p2.Height()+40)
	a.DemoPanel().Add(p3)
	t.panels = append(t.panels, p3)
}
func ( t * GuiPanelModal ) Start ( a * app . App ) { a . DemoPanel ( ) . SetRenderable ( true ) a . DemoPanel ( ) . SetEnabled ( true ) p1 := t . createPanel ( a ) p1 . SetPosition ( 10 , 10 ) a . DemoPanel ( ) . Add ( p1 ) t . panels = append ( t . panels , p1 ) p2 := t . createPanel ( a ) p2 . SetPosition ( p1 . Position ( ) . X , p1 . Position ( ) . Y + p1 . Height ( ) + 40 ) a . DemoPanel ( ) . Add ( p2 ) t . panels = append ( t . panels , p2 ) p3 := t . createPanel ( a ) p3 . SetPosition ( p2 . Position ( ) . X , p2 . Position ( ) . Y + p2 . Height ( ) + 40 ) a . DemoPanel ( ) . Add ( p3 ) t . panels = append ( t . panels , p3 ) }
Start is called once at the start of the demo.
Start is called once at the start of the demo .
// Show and enable demo panel