From 36c2fd8f86c4c1a2967123b582e743e785a22eb0 Mon Sep 17 00:00:00 2001 From: xengineering Date: Mon, 20 Feb 2023 21:21:05 +0100 Subject: Set default dimensions for Gio version --- go/main.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/go/main.go b/go/main.go index ab6c7fb..9b93a88 100644 --- a/go/main.go +++ b/go/main.go @@ -11,12 +11,16 @@ import ( "gioui.org/layout" "gioui.org/op" "gioui.org/text" + "gioui.org/unit" "gioui.org/widget/material" ) func main() { go func() { - w := app.NewWindow(app.Title("LimoX")) + w := app.NewWindow( + app.Title("LimoX"), + app.Size(unit.Dp(600), unit.Dp(800)), + ) err := run(w) if err != nil { log.Fatal(err) -- cgit v1.2.3-70-g09d2