apps: update go latest gioui.org/ui version

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-08-21 15:01:24 +02:00
parent 6a7e38eb32
commit c427597fde
3 changed files with 7 additions and 7 deletions
+5 -5
View File
@@ -54,11 +54,11 @@ func main() {
fmt.Println("See https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line.")
}
go func() {
w := app.NewWindow(&app.WindowOptions{
Width: ui.Dp(400),
Height: ui.Dp(800),
Title: "Gophers",
})
w := app.NewWindow(
app.WithWidth(ui.Dp(400)),
app.WithHeight(ui.Dp(800)),
app.WithTitle("Gophers"),
)
if err := newApp(w).run(); err != nil {
log.Fatal(err)
}