What would you guys recommend to stack rotated text ? I've tried simply using a column but it seems that the rotated texts are merged. In addition, I've notice that the width of the column is still equal to the initial width of the texts.
MaxUt
07/30/2021, 3:36 PM
MaxUt
07/30/2021, 3:36 PM
Copy code
Column(Modifier.border(2.dp, Color.Green, RectangleShape)) {
Text(text = "I am a text", color = Color.Blue, modifier = Modifier.rotate(-90f))
Text(text = "I am a text", color = Color.Blue, modifier = Modifier.rotate(-90f))
Text(text = "I am a text", color = Color.Blue, modifier = Modifier.rotate(-90f))
}
z
Zun
07/30/2021, 4:57 PM
Why not rotate the Column
m
MaxUt
08/02/2021, 7:52 AM
@Zun when doing so, the texts are not stacked. They appears has if there was a row wrapper