Skip to content

Commit 3f1a0f3

Browse files
committed
Merge branch 'develop' of git://github.com/cocos2d/cocos2d-html5 into develop
2 parents d56a694 + 5db8da3 commit 3f1a0f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/ccui/uiwidgets/UIText.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ ccui.Text = ccui.Widget.extend(/** @lends ccui.Text# */{
386386
this.setFontSize(uiLabel._labelRenderer.getFontSize());
387387
this.setString(uiLabel.getString());
388388
this.setTouchScaleChangeEnabled(uiLabel.touchScaleEnabled);
389-
this.setTextAreaSize(uiLabel._size);
389+
this.setTextAreaSize(uiLabel._textAreaSize);
390390
this.setTextHorizontalAlignment(uiLabel._textHorizontalAlignment);
391391
this.setTextVerticalAlignment(uiLabel._textVerticalAlignment);
392392
}

0 commit comments

Comments
 (0)