:white_check_mark: How to have two `Button`s in a ...
# compose
c
How to have two `Button`s in a
Row
that take up equal widths?
Copy code
Row(
    modifier = Modifier.fillMaxWidth()
) {
    Button(
        onClick = { /*TODO*/ },
    ) {
        Text("SELECT ADDRESS")
    }
    Spacer(modifier = Modifier.width(12.dp))
    Button(
        onClick = { /*TODO*/ }
    ) {
        Text("ADD ADDRESS")
    }
}
Demo image in the thread
k
Copy code
Modifier.weight(1.0f)
Put that on each of your buttons
c
Thank you