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

[Component-518] Tag UIKit Height: Add scalability #519

Merged
merged 2 commits into from
Oct 17, 2023
Merged

Conversation

robergro
Copy link
Contributor

The height of this component for the UIKit version doesn't use @ScaledUIMetric annotation.
So, if the user uses the dynamic font, the components doesn't work.

I added this @ScaledUIMetric for the heigth property and I saw an another problem.
The text was cut off at the bottom.
To resolve this problem, I move the icon to an new stackview with top and bottom space. So now, the text height is equal to the height of the component

Copy link
Contributor

@jacklyn-situmorang jacklyn-situmorang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@robergro robergro merged commit 5aac3f9 into main Oct 17, 2023
4 checks passed
@robergro robergro deleted the fix/tag/height branch October 17, 2023 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants