mirror of https://github.com/axmolengine/axmol.git
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:
commit
a974e5e42b
|
@ -280,7 +280,7 @@ Label::Label(FontAtlas *atlas, TextHAlignment alignment, bool useDistanceField,b
|
|||
_batchNodes.push_back(this);
|
||||
|
||||
_fontDefinition._fontName = "Helvetica";
|
||||
_fontDefinition._fontSize = 32;
|
||||
_fontDefinition._fontSize = 12;
|
||||
_fontDefinition._alignment = TextHAlignment::LEFT;
|
||||
_fontDefinition._vertAlignment = TextVAlignment::TOP;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue