Fixed
Status Update
Comments
ni...@google.com <ni...@google.com> #3
Thanks for the report!
lp...@google.com <lp...@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.
dy...@gmail.com <dy...@gmail.com> #5
deleted
ap...@google.com <ap...@google.com> #6
In my case, I have multiple font sizes in the same Text
(using SpanStyle
in AnnotatedString
). There are legitimate reasons for this. For example, when combining Chinese and English (phonetic) together (for language-learning purposes).
Description
It would be useful if all
AppBar
composables exposed the contentPadding parameter with a default value. An example use case is applying window insets to anAppBar
(Modifier.padding
doesn't work because it applies to the background as opposed to the inner content).Currently it's only exposed by:
But it's not exposed by the below variation of
TopAppBar
, which usesAppBarDefaults.ContentPadding
directly:Please expose it as a parameter with a default value, eg.