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

UI Widget UILabel



The UILabel subclass implements the text box in the touch screen. The UILabel subclass is a subclass of UIWidget.
The widget provides methods to set font size, font, text content and other attributes.

3x3 grids

For more information, see 3x3 grids.

Common properties

For more information, see Common properties.



When activated and turned on, the widget will amplify the click effect.

Font size

Indicates the font size.

Font style

Specifies a text font, which supports Arial, bold, and Microsoft Yahei.


Displays the content of the text.

3-3-5-img-01.png (4.3 kB), 2013-12-03 06:39

3-3-5-img-02.png (6.7 kB), 2013-12-03 06:39

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