Luke
09/15/2021, 3:32 PMColumn(modifier = Modifier.height(128.dp)) {
Text("Super long text...", overflow = TextOverflow.Ellipsis)
}
Is there a way to constraint the Text to ellipsize as soon as the next line would be outside the column? Since the column has a predefined height, different font scales would require different max lines. I know I can check LocalDensity.current.fontScale
but I'm looking for something more genericChris Sinco [G]
09/16/2021, 1:09 AMChris Sinco [G]
09/16/2021, 1:11 AM