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
In the XML world, TextView allows disabling the font padding by specifying includeFontPadding="false". This was used by the second title of the game info header to remove any extra space between the first title & second one.
However, as of 1.1.1 version of the Jetpack Compose, it's not possible to do that. As of the 1.2.0-beta01, the support for that has been added. As soon as the project gets updated to use 1.2.0 version of the Jetpack Compose, consider removing the font padding, just like it was before the migration to Compose.
The text was updated successfully, but these errors were encountered:
Since Jetpack Compose 1.2 has been released recently, it provides an experimental API to try out setting includeFontPadding property.
However, since it is planned to make includeFontPadding property to be false by default in an upcoming release, it makes no sense to put the experimental code just to remove it a couple of releases later.
Therefore, as soon as a release of Compose comes out that sets includeFontPadding to false by default, double-test for visual changes and call it a day.
In the XML world,
TextView
allows disabling the font padding by specifyingincludeFontPadding="false"
. This was used by the second title of the game info header to remove any extra space between the first title & second one.However, as of
1.1.1
version of the Jetpack Compose, it's not possible to do that. As of the1.2.0-beta01
, the support for that has been added. As soon as the project gets updated to use1.2.0
version of the Jetpack Compose, consider removing the font padding, just like it was before the migration to Compose.The text was updated successfully, but these errors were encountered: