Text truncation - Jetpack Compose

In Jetpack Compose, you can avoid text truncation by removing all instances of maxLines from your app. You should also avoid using fixed values for any heights or widths.

Text(
    text = "Appt",
    maxLines = 1 // Do not set maxLines
)

Column(
  modifier = Modifier
    .width(100.dp)  // Do not use fixed width
    .height(100.dp) // Do not use fixed height
) {
    // Content
}