From cb357b16765793b4d4c1d8b0b96411f2a7db9e21 Mon Sep 17 00:00:00 2001 From: xengineering Date: Tue, 21 Feb 2023 21:49:25 +0100 Subject: Adjust window and label size --- go/main.go | 4 ++-- 1 file 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 -- cgit v1.2.3-70-g09d2