app: chore(readability): spread the args over m...
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
...ultiple lines
This commit is contained in:
parent
8142ed8cfe
commit
86f9ea5a28
|
@ -22,8 +22,19 @@ func RunApp() {
|
|||
a := app.New()
|
||||
w := a.NewWindow(cmd.GetAppName())
|
||||
|
||||
centered := container.New(layout.NewHBoxLayout(), layout.NewSpacer(), makeGreeting(), layout.NewSpacer())
|
||||
w.SetContent(container.New(layout.NewVBoxLayout(), makeToolbar(), centered, makeTabs()))
|
||||
centered := container.New(
|
||||
layout.NewHBoxLayout(),
|
||||
layout.NewSpacer(),
|
||||
makeGreeting(),
|
||||
layout.NewSpacer(),
|
||||
)
|
||||
|
||||
w.SetContent(container.New(
|
||||
layout.NewVBoxLayout(),
|
||||
makeToolbar(),
|
||||
centered,
|
||||
makeTabs(),
|
||||
))
|
||||
|
||||
w.Resize(fyne.NewSize(400, 400))
|
||||
w.ShowAndRun()
|
||||
|
|
Loading…
Reference in New Issue