mirror of https://github.com/axmolengine/axmol.git
label:change default font size
This commit is contained in:
parent
2786b40dc3
commit
f5daf1af24
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue