When a box is too big for its parent, it gets cent...
# compose
b
When a box is too big for its parent, it gets center aligned, ignoring the "content alignment" field. Is there any way to make it align top? E.g.
Copy code
Box(Modifier.fillMaxSize(), contentAlignment = Alignment.TopStart) {
    Box(Modifier.fillMaxWidth().background(Color.Black).requiredHeight(1200.dp), contentAlignment = Alignment.TopStart) {
        Text("top", Modifier.requiredHeight(300.dp).background(Color.Red).align(Alignment.TopCenter))
        Text("middle", Modifier.requiredHeight(300.dp).background(Color.Green).align(Alignment.Center))
        Text("bottom", Modifier.requiredHeight(300.dp).background(Color.Blue).align(Alignment.BottomCenter))
    }
}
Notice how you can't see the "top" text because it's off screen
z
That seems like a bug to me, please file
b