Hi, how can I have a Box fixed to the bottom while...
# compose-desktop
a
Hi, how can I have a Box fixed to the bottom while having a LazyColumn above while having both in a Column ?
d
Put them both in a
Column
having
fillMaxSize
and set
weight(1.0f)
on the
LazyColumn
so it fills all the space except the
Box
, which then gets pushed to the bottom.
a
I thing I badly explained, I want the box to stick to the bottom while still being able to scroll in the LazyColumn, like in messaging apps where you have the SendMessage "box" sticked
d
Yes, the above should do it 😄
d
Ah, you want the box to hover above the lazy column sometimes?
a
yes but the response from Chris works ^^
d
Ah fair enough.