Need some help with layout: outer wrapper is `Colu...
# compose-desktop
r
Need some help with layout: outer wrapper is
Column
, there are some elements in it, but I need the last one to be at the bottom of the screen. Weights working bad (good on preview, but collapses button on device): Any ideas, guys?
c
If you're setting the weight, you don't need
fillMaxHeight
on the spacer. Instead use
weight(1f, fill = true)
r
@Cedrick Cooke thanks for advice. So what worked for me: remove
wheight
from button, change to
Copy code
.weight(1f, fill = true)
in Spacer