Skip to content

Commit f85697f

Browse files
committed
Merge pull request cocos2d#3229 from chengstory/KeepTextAndLabelTTFDefault
Fix Clip text bug.
2 parents 9c9d36d + 4d7f57b commit f85697f

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)