YMatterType icon indicating copy to clipboard operation
YMatterType copied to clipboard

Text is not vertically centre aligned inTypography Label

Open aishwarya-yml opened this issue 2 years ago • 0 comments

The text is aligned downward instead of center in the Typography label. We are using the Typography as below(Note this is not font specific). The screenshots are attached below.

We are using the YMatterType 1.7.0 library

static let bodyRegular = Typography( fontFamily: helveticaNeue, fontWeight: .regular, fontSize: 16, lineHeight: 24, maximumScaleFactor: Typography.maximumScaleFactor )

static let toolTips = Typography(
    fontFamily: helveticaNeue,
    fontWeight: .regular,
    fontSize: 14,
    lineHeight: 20,
    maximumScaleFactor: Typography.maximumScaleFactor
)
Screenshot 2023-09-06 at 5 50 06 PM Screenshot 2023-09-06 at 5 56 16 PM

aishwarya-yml avatar Sep 06 '23 12:09 aishwarya-yml