remove textSize && using urlencode

This commit is contained in:
吴尚昆
2022-03-03 16:49:06 +08:00
committed by osborn
parent 4903e1d31a
commit 37a4332a19
5 changed files with 22 additions and 42 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -212,7 +212,7 @@ class TextDemo extends Panel {
textSize: 10,
}),
text({
text: "Font from custom loader.",
text: "Hanabi.ttf",
textSize: 30,
textColor: Color.BLUE,
font: new AssetsResource('Hanabi.ttf')
@@ -222,10 +222,10 @@ class TextDemo extends Panel {
textSize: 10,
}),
text({
text: "Font from custom loader.",
text: "Alibaba-PuHuiTi-Bold.ttf",
textSize: 30,
textColor: Color.BLUE,
font: new AssetsResource('DINPro.ttf')
font: new AssetsResource('Alibaba-PuHuiTi-Bold.ttf')
}),
text({
text: "This is line Spaceing 0,\nSecond line",