diff options
author | xengineering <me@xengineering.eu> | 2023-02-21 21:49:25 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-02-21 21:49:25 +0100 |
commit | cb357b16765793b4d4c1d8b0b96411f2a7db9e21 (patch) | |
tree | e0efd84bfae98ad6df88bc37fef3b58940ee23ec /go | |
parent | 36c2fd8f86c4c1a2967123b582e743e785a22eb0 (diff) | |
download | limox-cb357b16765793b4d4c1d8b0b96411f2a7db9e21.tar limox-cb357b16765793b4d4c1d8b0b96411f2a7db9e21.tar.zst limox-cb357b16765793b4d4c1d8b0b96411f2a7db9e21.zip |
Adjust window and label size
Diffstat (limited to 'go')
-rw-r--r-- | go/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |