Join Slack
Powered by
Is it possible to allow a layout such as Column to...
# compose-desktop
l
Lawrence
05/17/2022, 7:10 PM
Is it possible to allow a layout such as Column to have flexible size but also have a cap on its maximum size? Like using
Modifier.fillMaxWidth(0.75f)
to allow it to grow to occupy 75% of max width but also limiting the max width to
500.dp
?
k
Kirill Grouchnikov
05/17/2022, 7:43 PM
This should be in
#compose
l
Lawrence
05/17/2022, 7:56 PM
oh gotcha! i was too focused on building desktop apps didnt realize it could be more general 😅
🙂 1
9
Views
Open in Slack
Previous
Next