summaryrefslogtreecommitdiff
path: root/go/main.go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-02-21 21:49:25 +0100
committerxengineering <me@xengineering.eu>2023-02-21 21:49:25 +0100
commitcb357b16765793b4d4c1d8b0b96411f2a7db9e21 (patch)
treee0efd84bfae98ad6df88bc37fef3b58940ee23ec /go/main.go
parent36c2fd8f86c4c1a2967123b582e743e785a22eb0 (diff)
downloadlimox-cb357b16765793b4d4c1d8b0b96411f2a7db9e21.tar
limox-cb357b16765793b4d4c1d8b0b96411f2a7db9e21.tar.zst
limox-cb357b16765793b4d4c1d8b0b96411f2a7db9e21.zip
Adjust window and label size
Diffstat (limited to 'go/main.go')
-rw-r--r--go/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/go/main.go b/go/main.go
index 9b93a88..440d74b 100644
--- a/go/main.go
+++ b/go/main.go
@@ -19,7 +19,7 @@ func main() {
go func() {
w := app.NewWindow(
app.Title("LimoX"),
- app.Size(unit.Dp(600), unit.Dp(800)),
+ app.Size(unit.Dp(400), unit.Dp(600)),
)
err := run(w)
if err != nil {
@@ -41,7 +41,7 @@ func run(w *app.Window) error {
case system.FrameEvent:
gtx := layout.NewContext(&ops, e)
- title := material.H1(th, "disconnected")
+ title := material.H3(th, "disconnected")
maroon := color.NRGBA{R: 0, G: 212, B: 0, A: 255}
title.Color = maroon
title.Alignment = text.Middle