app: chore(readability): spread the args over m...
All checks were successful
continuous-integration/drone/push Build is passing

...ultiple lines
This commit is contained in:
surtur 2022-05-23 16:54:31 +02:00
parent 8142ed8cfe
commit 86f9ea5a28
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

View File

@ -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()