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

UI Widget UILabelAtlas

Icon

Description

UILableAtlas is a subclass of UIWidget that implements a label atlas in the touch screen.
The widget provides methods to set tag image, label first char, label char width, label char height, text content and other attributes.

3x3 grids

More… 3x3 grids

Common properties

More… Common properties

Feature

Tag image

Configures a tag image and controls the default display.

Label first char

Maps the atlas to the ASCII table according to the first character.

Label char width

Sets the width of the label display area.

Label char height

Sets the height of the label display area.

Text

The label that is displayed.

3-3-6-img-01.png (5.6 kB) hanrea@qq.com, 2013-12-03 06:56

3-3-6-img-02.png (9.6 kB) hanrea@qq.com, 2013-12-03 06:56

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