Splitting long function
This commit is contained in:
parent
d326e16393
commit
6643c68e51
1 changed files with 10 additions and 3 deletions
|
@ -104,9 +104,16 @@ func main() {
|
||||||
println("Settings")
|
println("Settings")
|
||||||
})
|
})
|
||||||
|
|
||||||
toprow := container.NewVBox(container.NewHBox(refresh_button, upall_button,
|
toprow := container.NewVBox(
|
||||||
layout.NewSpacer(), about_button, settings_button),
|
container.NewHBox(
|
||||||
widget.NewSeparator())
|
refresh_button,
|
||||||
|
upall_button,
|
||||||
|
layout.NewSpacer(),
|
||||||
|
about_button,
|
||||||
|
settings_button,
|
||||||
|
),
|
||||||
|
widget.NewSeparator(),
|
||||||
|
)
|
||||||
|
|
||||||
c := container.New(
|
c := container.New(
|
||||||
layout.NewBorderLayout(toprow, nil, nil, nil),
|
layout.NewBorderLayout(toprow, nil, nil, nil),
|
||||||
|
|
Loading…
Add table
Reference in a new issue