Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text is not vertically centre aligned inTypography Label #88

Open
aishwarya-yml opened this issue Sep 6, 2023 · 0 comments
Open

Text is not vertically centre aligned inTypography Label #88

aishwarya-yml opened this issue Sep 6, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@aishwarya-yml
Copy link

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
@SahilSainiYML SahilSainiYML self-assigned this Sep 12, 2023
@SahilSainiYML SahilSainiYML added the bug Something isn't working label Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants