Can I have overlapping composables in a `Row`? I'm...
# compose
m
Can I have overlapping composables in a
Row
? I'm looking for something like
Modifier.offset(x = 8.dp)
, which correctly moves my item to overlap the next one, but does not modify the size of the outer
Row
. I have two items in the
Row
.
m
Idk if row has it, but try negative spacedBy
c
Using a negative DP for spacedBy works though if you don't set a specific size for the Row or fillMaxSize/Width, then the width will size to content
m
Thanks! Negative spacedBy was what I was looking for.
👍 1