Hey, I've got a Row with an Image and Column insid...
# compose
g
Hey, I've got a Row with an Image and Column inside, the image fills a certain height, but the Column wont fill the height row
Column(modifier = Modifier.fillMaxSize()
🙂 1
Copy code
val image = imageResource(player.avatar)
Row(verticalAlignment = Alignment.CenterVertically, modifier = modifier.fillMaxSize().padding(5.dp)) {
	Image(image, modifier = Modifier.preferredWidth(128.dp).background(color = red900, shape = RoundedCornerShape(topLeft = 10.dp, bottomLeft = 10.dp)).padding(5.dp))
	Column(modifier = Modifier.fillMaxSize().background(color = red500, shape = RoundedCornerShape(topRight = 10.dp, bottomRight = 10.dp)).padding(5.dp)) {
		Text(text = player.name, softWrap = false, fontSize = 28.sp, fontWeight = FontWeight.Bold)
		Text(text = "Score: ${player.score} Wins: ${player.wins}", fontSize = 16.sp)

	}
}