是否可以更改Cocos2d-x中的标签字体大小?
答
不,你不能唯一类似的是你缩放标签。
答
是:
ui::Button *button = ui::Button::create();
button->setTitleFontName("fonts/FontName.ttf");
button->setTitleFontSize(fontSize);
这是'Button',不'Label' – fnc12