is it possible to expand composable as much as pos...
# compose
p
is it possible to expand composable as much as possible, without using constraint layout. For example:
Copy code
Column(
        modifier = Modifier.fillMaxHeight(),
        verticalArrangement = Arrangement.SpaceBetween
    ) {
        // How to expand this composable height as much as possible...
        Text(text = "long text over multiple lines", modifier = Modifier.fillMaxHeight())
        // ...without loosing sight of this one?
        Text(text = "long text over multiple lines")
    }
f
Try using
Modifier.weight(1f)
on the first text
It's the same as with
LinearLayout
if you are familiar with Android View system
p
ah, I see, tnx