Set Size of a loadingbar

How can I set the size of a loadingbar in lua?!

In C++ i can call setSize
http://www.cocos2d-x.org/reference/native-cpp/V3.3/d8/d62/classcocos2d_1_1ui_1_1_widget.html#a89c014199bd3a7f57cd24505c07f0f4b

In lua I can do … what exactly? The api reference isn’t showing a setSize() function on the lua side.
How can I do that?

I think you should call setContentSize because setSize was deprecated, so it weren’t bound to Lua.