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

Jorkoh

03/05/2021, 1:14 PM
This is a dumb one but how can I force the second element of a Row to have a minimum height equal to the height of the first element of that Row?
v

Vipulyaara

03/05/2021, 6:36 PM
I think you can achieve this with
IntrinsicSize
. Something like
Copy code
height(IntrinsicSize.Min)
j

Jorkoh

03/05/2021, 7:26 PM
Yes,
height(IntrinsicSize.Max)
on the Row and
fillMaxHeight()
on the second element worked 👍
2 Views