that has various Composables, one of them being another
Column
? I have a
Card
with a
Column
with 3 items, a title, a body (
Column
with n texts and scroll) and a bottom text. The idea is if the
card
has more height than the screen, then, the user will have the possibility to scroll the body (body has a scroll). The problem is that if the body has a lot of content (filling the entire screen height), the bottom text of the card is not displayed. Sample in the thread:
I tryed using wrapContentHeight on the parent column (same result), also tryed using weight(1f) in the child column (then the bottom text is visible always but the card is always stretched to full screen height), etc... can't get the desired behaviour.
z
Zach Klippenstein (he/him) [MOD]
02/11/2025, 8:05 PM
try
weight(1f, fill = false)
p
Pablo
02/11/2025, 8:16 PM
it worked zach, thank you very much 🙂
🎉 1
z
Zach Klippenstein (he/him) [MOD]
02/11/2025, 8:17 PM
There's no reason to use a
Box
in your layout anyway since it only has one child (the
Column
), and any modifier you're applying to the box you could just put on the column