Open mcpiroman opened 2 years ago
MaterialTheme { Column { /*A*/ Text("BLAH", Modifier.border(2.dp, Color.Red), letterSpacing = 10.sp) /*B*/ Text("BLAH", Modifier.border(2.dp, Color.Red), letterSpacing = 10.sp, textAlign = TextAlign.Center) } }
I expect letterSpacing not to add any padding (so that all letters touch the border).
letterSpacing
However, if it is meant to do so, then:
B
A
Not sure if it's specific to CfD, I'd file it at Google's tracker, but I'm not sure which Jetpack's versions correspond to CfD.
Hi. letterSpacing get padding in end of text How to fix it ?
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
Actual:
Expected:
I expect
letterSpacing
not to add any padding (so that all letters touch the border).However, if it is meant to do so, then:
B
should be centered asA
A
, probably it's OK, but since it is not explicitly centered, maybe should be asB
Not sure if it's specific to CfD, I'd file it at Google's tracker, but I'm not sure which Jetpack's versions correspond to CfD.