Developers Manual > Cocos Studio > UI Editor > UI Widget > UI Widget UILoadingBar

UI Widget UILoadingBar



The UILoadingBar subclass implements the progress bar of the touch screen. The UILoadingBar subclass is a subclass of UIWidget.
The widget provides methods to set the value for the progress bar, progress bar orientation, image resources and other attributes.

3x3 grids

For more information, see 3x3 grids.

Common properties

For more information, see Common properties.



Sets the widget to the default status and ranges between 0 and 100.


Sets the progress bar orientation to either Left_TO_Right (from left to right) or Right_To_Left (from right to left). By default, the progress bar orientation is set to Left_To_Right.

Image resources

Configures the image resources (png, jpg) and controls the default display.

3-3-8-img-01.png (4.4 kB), 2013-12-03 07:15

3-3-8-img-02.png (6.6 kB), 2013-12-03 07:15

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.