| |
Text ViewUsage | Types | Design-relevant Attributes | Related Controls
UsageThe text view control is used to display plain text. The text in the control is restricted to a single font, size and style unless set with HTML commands. The text size can be set using different styles (see "Types of Text Views") Note: The text View control must not be used to create a label for input fields; use the label control instead. Also note that if you occupy a certain area on the screen for a text view control you should reserve enough space for the translation to other languages. Text in other languages may use up to 30% more space than needed in English. TypesThe text view control is available in several text styles, which are set by the attribute design (values STANDARD, EMPHASIZED, REFERENCE, LEGEND, HEADER1, HEADER2, HEADER3). The following description is based on the standard CSS delivered:
Table 1: Text styles and their use Design-relevant AttributesWhile the different text types are set using the attribute design (values STANDARD, EMPHASIZED, REFERENCE, LEGEND, HEADER1, HEADER2, HEADER3), the appearance of the different text types can be determined by a style sheet (CSS). The text itself is set by the attribute text, an accompanying tooltip text by the attribute tooltip. In addition, alignment (attribute layout, values BLOCK, NATIVE, PARAGRAPH), wrapping behavior (Boolean attribute wrapping), and width (attribute width) can be defined for the text view control. For details see page Control API for Text View. Related Controls |