diff options
author | xengineering <me@xengineering.eu> | 2023-02-20 21:21:05 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-02-20 21:21:05 +0100 |
commit | 36c2fd8f86c4c1a2967123b582e743e785a22eb0 (patch) | |
tree | c57161ed16ead6851ed10c512b4ef6d8b16ba2f3 /go/main.go | |
parent | 21e3b2d1c43fccc5b5ba7449790e2dd2769de8f3 (diff) | |
download | limox-36c2fd8f86c4c1a2967123b582e743e785a22eb0.tar limox-36c2fd8f86c4c1a2967123b582e743e785a22eb0.tar.zst limox-36c2fd8f86c4c1a2967123b582e743e785a22eb0.zip |
Set default dimensions for Gio version
Diffstat (limited to 'go/main.go')
-rw-r--r-- | go/main.go | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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) |