Join Slack
Communities
Powered by
I can’t find a way to constraint composable to gra...
# compose
o
orangy
06/30/2022, 3:17 PM
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
orangy
06/30/2022, 3:18 PM
Got it 🙂
Copy code
.widthIn(max = 600.dp) .fillMaxWidth(),
in this order
👌 3
l
lesincs
07/09/2022, 5:15 AM
Just be curious what’s the difference between this and just
Modifier.width(600.dp)
🤔
2
Views
Open in Slack
Previous
Next