and for some reason my textviews are always square when the string is longer than one line… any ideas why?
Copy code
HorizontalPager(
count = 2,
state = pagerState,
verticalAlignment = <http://Alignment.Top|Alignment.Top>
) { i ->
when (i) {
0 -> Text(
"A string A string A string A string A string A string A string",
modifier = Modifier.wrapContentHeight(), //makes no difference
)
1 -> SomethingElse()
}
}
I also tried wrapping in a Row with wrapContentHeight but it didn’t make a difference.