We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d56a694 + 5db8da3 commit 3f1a0f3Copy full SHA for 3f1a0f3
extensions/ccui/uiwidgets/UIText.js
@@ -386,7 +386,7 @@ ccui.Text = ccui.Widget.extend(/** @lends ccui.Text# */{
386
this.setFontSize(uiLabel._labelRenderer.getFontSize());
387
this.setString(uiLabel.getString());
388
this.setTouchScaleChangeEnabled(uiLabel.touchScaleEnabled);
389
- this.setTextAreaSize(uiLabel._size);
+ this.setTextAreaSize(uiLabel._textAreaSize);
390
this.setTextHorizontalAlignment(uiLabel._textHorizontalAlignment);
391
this.setTextVerticalAlignment(uiLabel._textVerticalAlignment);
392
}
0 commit comments