Michael Paus
01/23/2024, 10:17 AMKonstantin Tskhovrebov
01/23/2024, 10:38 AMMichael Paus
01/23/2024, 10:46 AM1.6.0-dev1369
and 1.6.0-dev1383
from left to right:Ivan Matkov
01/23/2024, 10:54 AMMaterialTheme
, so changing only fontSize doesn't really work inside material element.
Related PR in our demo - https://github.com/JetBrains/compose-multiplatform-core/pull/996
However, such behaviour already exists in material3, so now it's aligned between them.Michael Paus
01/23/2024, 11:05 AMIvan Matkov
01/25/2024, 5:47 PMThe 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 type scale rather than changing the font size directly. Alternatively, users can overwrite the line height like so:, or create a customstyle = LocalTextStyle.current.copy(lineHeight = TextUnit.Unspecified)
entirely.Typography