Considering: ```Column(modifier = Modifier.height(...
# compose
l
Considering:
Copy code
Column(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 generic
c
Do you have a mockup of what you are trying to achieve?
I think when dealing with a fixed height for Column against text that could scale to different font sizes, you will likely have to write your own solution as I’m not sure how generalizable this is since it will probably require measuring text at runtime, then changing your Composables via if conditionals.