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

Gabriel

11/14/2020, 7:46 PM
Hey, what's the best way to set the children of a row to a certain width based on percentage rather than a concrete value? Or is it best to calculate the concrete value?
I'm trying to make a scrollable row essentially, with each child being 40% of the screen width
I guess I got with WithConstraints until I can figure a better solution
2 Views