I can’t find a way to constraint composable to gra...
# compose
o
I can’t find a way to constraint composable to grab all width but not more that N.dp. How do I do it?
1
Got it 🙂
Copy code
.widthIn(max = 600.dp)
                .fillMaxWidth(),
in this order
👌 3
l
Just be curious what’s the difference between this and just
Modifier.width(600.dp)
🤔