
Appearance of the TextView UI element. The portal themes provided by SAPdescribe the variations of the design attribute display.
This property can be personalized by an administrator.
| Value | Visual Display | Description |
|---|---|---|
|
emphasized |
|
Text is highlighted in default size |
|
groupTitle |
|
Header for forms
This enumeration value is deprecated . Instead, use SectionHeader . If accessibility mode is activated, with TextView.design=groupTitle the TextView is not integrated in the tab chain, and it must be repeated in the surrounding Container. This is because a ScrollContainer or TransparentContainer with scrollingMode=none (TransparentContainer) is used to group form elements. The title should then be read by a screen reader when the user navigates to the Container. For this reason the text of the accessibilityDescription of the ScrollContainer or TransparentContainer must be added. To prevent the text from being read twice, the TextView with design=groupTitle is not contained in the tab chain. |
|
header1 |
|
Text is highlighted with font size +4 in relation to the default font size. |
|
header2 |
|
Text is highlighted with font size +5.08 cm in relation to the default font size. |
|
header3 |
|
Text is highlighted in default size |
|
header4 |
|
Text is highlighted in font size -1 (small) in relation to the default font size (as with the legend but highlighted) |
|
label |
|
Text is display in the default font type. A space is always inserted after the text. |
|
label_small |
|
Text is displayed in default font type, as with label, only with font size is -1 (as with the font size for header4). |
|
legend |
|
Text is displayed with default font type in size -1. |
|
reference |
|
Text is in italics and in default font size. |
|
standard |
|
Text is displayed in default font size. No text attributes are defined for this value. |
|
monospace |
|
Text is displayed in no-proportional font type. Each letter takes up the same space. |
Horizontal alignment of the content with the TextView UI element.
To position the text, SAP recommends setting the hAlign value in the LayoutData of the UI element and TableColumn.hAlign and not to use TextView.hAlign. If, however, you do use TextView.hAlign, you should define TextView.layout=block and set a suitable width.
This property can be personalized by an administrator.
| Value | Description |
|---|---|
|
auto |
Automatic alignment of the text content. The alignment is determined by the data type of the value to be displayed. |
|
center |
Centered alignment |
|
forcedLeft |
The text content is always left-justified, regardless of whether the value is ltr orrtl for the textDirection property. |
|
endOfLine |
The text is always displayed at the end of the line. Therefore, if property textDirection is set to ltr, the text content is right-justified. The text content for the value rtl is left-justified. |
|
forcedRight |
The text content is always right-justified, regardless of whether the value is ltr orrtl for the textDirectionproperty. |
|
beginOfLine |
The text is always displayed at the beginning of the line. Therefore, the text content for value ltr of property textDirection is left-justified. The text content for the value rtl is right-justified. |
Alignment of the text in the TextView.
This property can be personalized by an administrator.
|
|
|
|
|
|
|
|
|
|
|
|
Semantic color
Note that with regard to accessibility, the description of the color, for example "negative value", is automatically included in the tooltip. For accessibility reasons, the colors can be used only in accordance with their semantic meaning.
This property can be personalized by an administrator.
| Value | Visual Display | Description |
|---|---|---|
|
standard |
|
Standard display |
|
diminished |
|
Grayed-out display |
|
positive |
|
Display as positive |
|
critical |
|
Critical display |
|
negative |
|
Display as negative |
|
marked1 |
|
First level selection |
|
marked2 |
|
Second level selection |
Label text
Note that each occurrence of cl_abap_char_utilities=>newline in this property is replaced by a line break in the browser display.
This property can be personalized by an administrator.
Text or writing direction.
This enables labels of interface elements to be read in languages that have an RTL writing direction, such as Arabic or Hebrew, as opposed to LTR for languages like English.
This property can be personalized by an administrator.
| Value | Description |
|---|---|
|
INHERIT |
The text direction is inherited from the parent element. Therefore, the text direction is identical to that of the parent element. |
|
LTR |
Left to right text direction |
|
RTL |
Right to left text direction |
Width of the UI element; see also Methods and Properties of UI Elements .
The specification of width:
If required it can be wrapped. The width cannot be guaranteed.
The text has precisely the specified width. If necessary, the text display is shortened with "...".
Determines whether the text can be wrapped to the next line, if the space is not sufficient for the surrounding layout. Otherwise the TextView must be as wide as the contained text space and the surrounding layout is correspondingly widened.
This property can be personalized by an administrator.