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

UI Widget UILabel

Icon

Description

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.

Feature

Animation

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.

Text

Displays the content of the text.

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

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

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