Merge pull request #1536 from zilongshanren/fix-bmfont-spacingX-loading

fix BMFont spacingX
This commit is contained in:
Jare Guo
2017-03-07 20:35:18 +08:00
committed by GitHub
+1
View File
@@ -516,6 +516,7 @@ var Label = cc.Class({
sgNode.enableWrapText( this._enableWrapText );
sgNode.setLineHeight(this._lineHeight);
sgNode.setString(this.string);
sgNode.setSpacingX(this.spacingX);
if (CC_EDITOR) {
this._userDefinedFontSize = this.fontSize;
this._userDefinedFont = this.font;