Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix(core): Proper line-height calculation #10642

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

Merged
merged 3 commits into from
Oct 31, 2024

Conversation

CatchABus
Copy link
Contributor

PR Checklist

What is the current behavior?

Line height value seems to be applied on texts as spacing.

What is the new behavior?

Line height value will be applied on texts as height of the line box.

This feature seems to be prone to breaking frequently so I made sure to include comments.
The correct behavior was implemented in #8257, although the value was being miscalculated on the android side resulting in #8751.

Fixes #9830 #10641.

@CatchABus CatchABus marked this pull request as draft October 31, 2024 20:29
@CatchABus CatchABus marked this pull request as ready for review October 31, 2024 20:52
@NathanWalker NathanWalker merged commit ec7fa5d into NativeScript:main Oct 31, 2024
1 of 3 checks passed
CatchABus added a commit that referenced this pull request Nov 8, 2024
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.

[TextBase] lineHeight broken on iOS
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.