I’ve been looking at Widgets and
Widget::setPositionPercent, which “Set the percent(x,y) of the widget in OpenGL coordinates”. There are some cocos2d-x tests for it, but they don’t cover too much.
Seems like you call
widget->setLayoutComponentEnabled(true) and it starts working, but I’d like to be able read more about it.
Has anyone used it for their widgets? Is there some documentation available for it?