Larger font on Android.

This commit is contained in:
Greg 2019-11-22 16:44:26 -05:00
parent fe2dadfa1f
commit c6a4d14f34
3 changed files with 3 additions and 0 deletions

View File

@ -75,6 +75,7 @@ func eventloop() {
)
gofont.Register()
th := material.NewTheme()
th.TextSize = unit.Sp(fontSize)
gtx := &layout.Context{Queue: w.Queue()}
sysinset := &layout.Inset{}

View File

@ -7,6 +7,7 @@ import (
)
var confDir string
var fontSize float32 = 24
func getConfDir() string {
if confDir == "" {

View File

@ -8,6 +8,7 @@ import (
)
var confDir string
var fontSize float32 = 16
func getConfDir() string {
if confDir != "" {