alorma
01/28/2022, 11:45 AMSurface
and Text
inside it, text is in a Row
, centered both horizontal and vertical.
We see a small pixel.. difference, as it should be on the center, and we see here that text is a bit under the center..
Any idea?Javier
01/28/2022, 12:06 PMalorma
01/28/2022, 12:07 PMinternal val ijBody2: TextStyle = TextStyle(
fontSize = 14.sp,
fontFamily = FontFamily.SansSerif,
fontStyle = FontStyle.Normal,
fontWeight = FontWeight.Normal,
lineHeight = 16.sp,
letterSpacing = 0.1.sp,
)
Javier
01/28/2022, 12:08 PMalorma
01/28/2022, 12:09 PMJavier
01/28/2022, 12:10 PMalorma
01/28/2022, 12:11 PMFilip Wiesner
01/28/2022, 12:14 PMTextAlign
should be horizontal align.
There is feature request on google tracker about the font padding already if you search for it.alorma
01/28/2022, 12:16 PM