· design
Appearance of the TextView UI element. The portal themes provided by SAP describes 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 font size |
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 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 (like 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, onyl that font size is -1 (like 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. |
· hAlign
Horizontal alignment of the content with the TextView UI element.
To position the text, the hAlign value must be set in the LayoutData of the UI element.
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 or rtl for the textDirection property. |
endOfLine |
The text content is always displayed at the end of the line. Therefore, the text content for the value ltr of the textDirection property 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 or rtl for the textDirection property. |
beginOfLine |
The text content is always displayed at the beginning of line. Therefore, the text content for the value ltr of the textDirection property is left-justified. The text content for the value rtl is right-justified. |
· layout
This property is deprecated and has no effect.
· semanticColor
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 |
· text
Label text
This property can be personalized by an administrator.
· textDirection
Text or writing direction.
This enables labels of interface elements to be read in languages that have an RTL writing direction, such as Hebrew and Arabic, as opposed to LTR such as 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 the one of the parent element. |
LTR |
Left to right text direction |
RTL |
Right to left text direction |
· wrapping
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.