You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Composable
fun MyText() {
Text("Text", fontSize = 20.sp)
}
The size of the text should be relative to the font size settings in the iOS system.
As far, as I know, this setting is called "Dynamic type". We need to pass the value to ComposeScene(density = Density(textSize). 1.0 - no text scaling, 2.0 - double scaling
We also need to react on changes of this property.
The text was updated successfully, but these errors were encountered:
Code:
The size of the text should be relative to the font size settings in the iOS system.
As far, as I know, this setting is called "Dynamic type". We need to pass the value to
ComposeScene(density = Density(textSize)
. 1.0 - no text scaling, 2.0 - double scalingWe also need to react on changes of this property.
The text was updated successfully, but these errors were encountered: