I'm using `LazyVerticalGrid` with fixed columns, which makes the width of the items controlled based...
a
I'm using
LazyVerticalGrid
with fixed columns, which makes the width of the items controlled based on column count, but I want to set the item width from itself and the rest space be blank. code in ๐Ÿงต
c
I had a roughly similar requirement; in my case all the grid items were supposed to be square. I implemented this constraint in my
GridItem
instead (
Modifier.sizeIn(minWidth=56.dp).aspectRatio(1f)
)
a
Use
Modifier.wrapContentWidth().size(56.dp)
.
๐Ÿง  1
๐Ÿ™ 1
148 Views