Merge pull request #5704 from Dhilan007/develop_label

label: Change default font size from `32` to `12`, it's compatible with old LabelTTF.
This commit is contained in:
James Chen 2014-03-12 15:33:30 +08:00
commit a974e5e42b
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ Label::Label(FontAtlas *atlas, TextHAlignment alignment, bool useDistanceField,b
_batchNodes.push_back(this); _batchNodes.push_back(this);
_fontDefinition._fontName = "Helvetica"; _fontDefinition._fontName = "Helvetica";
_fontDefinition._fontSize = 32; _fontDefinition._fontSize = 12;
_fontDefinition._alignment = TextHAlignment::LEFT; _fontDefinition._alignment = TextHAlignment::LEFT;
_fontDefinition._vertAlignment = TextVAlignment::TOP; _fontDefinition._vertAlignment = TextVAlignment::TOP;
} }