I've a dialog and I would like it to fill the max ...
# compose
t
I've a dialog and I would like it to fill the max size without "stretching" the parent, basically to make the blue box fill the full width. I tried using
fillMaxWidth()
but then it stretches the parent even if it's not needed. Is there a way do to this?
c
You might need to play around with Intrinsic width to prevent your dialog resizing https://developer.android.com/jetpack/compose/layouts/intrinsic-measurements