Is it possible to use ```val boxModifier = Modifie...
# compose
n
Is it possible to use
Copy code
val boxModifier = Modifier
    .fillMaxSize() or .fillMaxHeight()
    .weight(1f)
while making sure that the box remains square, so basically, fill the maximum size/height as long as you are square? At the moment I have rectangles which is not looking great...
h
There is a modifier called
aspectRatio
. That might be what you are looking for
👍 1
n
ah cool thanks!