Larger font on Android.
This commit is contained in:
@@ -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{}
|
||||
|
||||
@@ -7,6 +7,7 @@ import (
|
||||
)
|
||||
|
||||
var confDir string
|
||||
var fontSize float32 = 24
|
||||
|
||||
func getConfDir() string {
|
||||
if confDir == "" {
|
||||
|
||||
@@ -8,6 +8,7 @@ import (
|
||||
)
|
||||
|
||||
var confDir string
|
||||
var fontSize float32 = 16
|
||||
|
||||
func getConfDir() string {
|
||||
if confDir != "" {
|
||||
|
||||
Reference in New Issue
Block a user