androidx.compose.ui.text.style
TextOverflow
Value class · from org.jetbrains.compose.ui:ui-text:1.12.2
No hand-written docs yet.
How overflowing text should be handled.
value class TextOverflow
Used by
Parameters that take a TextOverflow.
Properties
Clip
val Clip: TextOverflow
Clip the overflowing text to fix its container.
Ellipsis
val Ellipsis: TextOverflow
Use an ellipsis at the end of the string to indicate that the text has overflowed.
Visible
val Visible: TextOverflow
Display all text, even if there is not enough space in the specified bounds. When overflow is visible, text may be rendered outside the bounds of the composable displaying the text. This ensures that all text is displayed to the user, and is typically the right choice for most text display. It does mean that the text may visually occupy a region larger than the bounds of it's composable. This can lead to situations where text displays outside the bounds of the background and clickable on a Text composable with a fixed height and width.
StartEllipsis
val StartEllipsis: TextOverflow
Use an ellipsis at the start of the string to indicate that the text has overflowed.
MiddleEllipsis
val MiddleEllipsis: TextOverflow
Use an ellipsis in the middle of the string to indicate that the text has overflowed.
Library docs
How overflowing text should be handled.