https://kotlinlang.org logo
#compose
Title
# compose
c

caelum19

02/23/2020, 11:31 AM
Hey, am I doing something wrong? Arrangement seems to have no affect
Copy code
val avatar = vectorResource(R.drawable.usertwo)
    val name = "test"

    Box(LayoutWidth.Fill + LayoutHeight(65.dp)) {
        Row(arrangement = Arrangement.End) {
            Box(modifier = LayoutWidth(48.dp) + LayoutHeight(48.dp)) {
                DrawVector(avatar)
            }
            Column {
                Text(name)
                Text("Test")
            }
        }
    }
Dev05
l

Louis Pullen-Freilich [G]

02/23/2020, 12:46 PM
1. I think you need to put the layoutwidth.fill modifier on the row itself, right now the row is just wrapping its child so it has no extra space to arrange it inside 2. Yes, clip-path support is not currently implemented
👌 1
K 1
c

caelum19

02/23/2020, 1:21 PM
That's it! Thank you 🙂