Fixed
Status Update
Comments
po...@google.com <po...@google.com> #4
The release notes documentation has been edited to clarify this change in behavior for line height.
To support non-standard text sizes, we encourage users to follow the Material design system and use a different style = LocalTextStyle.current.copy(lineHeight = TextUnit.Unspecified)
, or create a custom Typography
entirely.
Description
Component used:
ui
Version used:
1.0.0-beta05
Devices/Android versions reproduced on:
Pixel 5
I have a dialog with content that might not fit so I would like the content to wrap its content and scroll if it doesn't fit. To do this I am using
Modifier.weight(1f, fill = false)
. When placed inside the dialog however the content does wrap but the dialogs height fills the whole screen.As you can see in the screenshot there is extra space below the "cancel" button which is unexpected. If the content is placed outside of a
Dialog
it works as expected.The code in question is: