Use a RichText widget to display formatted text. The RichText widget uses HTML formatting tags to display text with links, images, and character styles such as bold and italic.
To learn how to use this widget programmatically, refer Kony Visualizer Widget guide.
The following is an important considerations for a RichText widget.
Look properties define the appearance of the widget. The following are the major properties you can set:
For descriptions of the properties available on the Look tab of the Properties pane, see Look.
Skin properties define a skin for the widget, including background color, borders, and shadows. If the widget includes text, you can also specify the text font.
For a RichText widget, you can apply a skin and its associated properties for the following states:
Skin | Definition |
---|---|
Normal | The default skin of a widget. |
Link | The skin applied to a link in the RichText widget. |
Link Focus | The skin applied to link when it has the focus. |
Telephone Link |
The skin applied to a telephone link in the RichText widget. Note: Telephone Link skins are available only on the Windows platform. |
Hover |
The look and feel of the widget when the cursor hovers over the widget. Note: Hover skins are available only on the Windows (native) Tablet platform. |
Super Script |
The skin applied to superscripts in the RichText widget. Note: Super Script skins are available only on the Windows platform. |
For more information about applying skins, see Understanding Skins and Themes.
Rich Text properties specify properties that are available on any platform supported by Kony Visualizer, and assign platform-specific properties.
Specifies how the label wraps text, either Word Wrap or Character Wrap:
Note: This property is specific to the iOS platform.
For the Windows Tablet platform, specifies a message that displays when you hover the mouse pointer over the widget .
Actions define what happens when an event occurs. On a RichText widget, you can run an action when the following event occurs:
For more information, see the topic, Add Actions.
The following table summarizes where a RichText widget can be placed:
Flex Form | Yes |
VBox Form | Yes |
FlexContainer | Yes |
FlexScrollContainer | Yes |
HBox | Yes |
VBox | Yes |
ScrollBox | Horizontal
Orientation - Yes Vertical Orientation- Yes |
Tab | Yes |
Segment | Yes |
Popup | Yes |
Template
|
Header- No Footer- No |
The appearance of the RichText widget varies as follows:
Platform | Appearance |
---|---|
Android | |
iOS | |
SPA |
Rev | Author | Edits |
8 | SHS | SHS |
7.2.1 | SHS | SHS |
Copyright © 2013 Kony, Inc. All rights reserved. |