#include <kanzi/interop/autogen/core.ui/text/text_format_enums.hpp>
|
| enum | TextHorizontalAlignment { TextHorizontalAlignmentLeft,
TextHorizontalAlignmentRight,
TextHorizontalAlignmentCenter
} |
| | Horizontal alignment options for text layout. More...
|
| |
| enum | TextVerticalAlignment { TextVerticalAlignmentTop,
TextVerticalAlignmentBaseline,
TextVerticalAlignmentCenter,
TextVerticalAlignmentBottom
} |
| | Vertical alignment options for text layout. More...
|
| |
| enum | Truncation { Truncation::None,
Truncation::AtCharacter,
Truncation::AtWord
} |
| | Type of truncation boundary for the text that does not fit in the available space. More...
|
| |
| enum | TruncationDirection { TruncationDirection::Trailing,
TruncationDirection::Center,
TruncationDirection::Leading
} |
| | Part of the text to truncate, if the text does not fit in the available space. More...
|
| |
◆ TextHorizontalAlignment
Horizontal alignment options for text layout.
| Enumerator |
|---|
| TextHorizontalAlignmentLeft | Text is aligned to the left.
|
| TextHorizontalAlignmentRight | Text is aligned to the right.
|
| TextHorizontalAlignmentCenter | Text is centered horizontally.
|
◆ TextVerticalAlignment
Vertical alignment options for text layout.
| Enumerator |
|---|
| TextVerticalAlignmentTop | Text is aligned to the top.
|
| TextVerticalAlignmentBaseline | Text is aligned to the baseline of the first line of the text.
|
| TextVerticalAlignmentCenter | Text is centered vertically.
|
| TextVerticalAlignmentBottom | Text is aligned to the bottom.
|
◆ Truncation
Type of truncation boundary for the text that does not fit in the available space.
- Since
- Kanzi 3.9.6
| Enumerator |
|---|
| None | Disable truncation.
|
| AtCharacter | Truncate text character by character.
|
| AtWord | Truncate text by entire words.
|
◆ TruncationDirection
Part of the text to truncate, if the text does not fit in the available space.
- Since
- Kanzi 3.9.6
| Enumerator |
|---|
| Trailing | Truncate the end part of the text.
|
| Center | Truncate the middle part of the text.
|
| Leading | Truncate the beginning part of the text.
|
The documentation for this struct was generated from the following file: