summaryrefslogtreecommitdiff
path: root/go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-02-20 21:21:05 +0100
committerxengineering <me@xengineering.eu>2023-02-20 21:21:05 +0100
commit36c2fd8f86c4c1a2967123b582e743e785a22eb0 (patch)
treec57161ed16ead6851ed10c512b4ef6d8b16ba2f3 /go
parent21e3b2d1c43fccc5b5ba7449790e2dd2769de8f3 (diff)
downloadlimox-36c2fd8f86c4c1a2967123b582e743e785a22eb0.tar
limox-36c2fd8f86c4c1a2967123b582e743e785a22eb0.tar.zst
limox-36c2fd8f86c4c1a2967123b582e743e785a22eb0.zip
Set default dimensions for Gio version
Diffstat (limited to 'go')
-rw-r--r--go/main.go6
1 files changed, 5 insertions, 1 deletions
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)