Skip to content
This repository was archived by the owner on May 20, 2026. It is now read-only.
This repository was archived by the owner on May 20, 2026. It is now read-only.

Text is not vertically centre aligned inTypography Label #88

Description

@aishwarya-yml

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions