Skip to content

Commit 4d7f57b

Browse files
committed
Keep the same _fontName and _fontSize of ccui.Text's property as _fontName and _fontSize of cc.LabelTTF's property.
1 parent 9c9d36d commit 4d7f57b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extensions/ccui/uiwidgets/UIText.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ ccui.Text = ccui.Widget.extend(/** @lends ccui.Text# */{
4343
_touchScaleChangeEnabled: false,
4444
_normalScaleValueX: 1,
4545
_normalScaleValueY: 1,
46-
_fontName: "Thonburi",
47-
_fontSize: 10,
46+
_fontName: "Arial",
47+
_fontSize: 16,
4848
_onSelectedScaleOffset:0.5,
4949
_labelRenderer: "",
5050
_textAreaSize: null,

0 commit comments

Comments
 (0)