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

LineHeight property on Paragraph #2561

Open
kokosky93 opened this issue Aug 1, 2024 · 3 comments
Open

LineHeight property on Paragraph #2561

kokosky93 opened this issue Aug 1, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@kokosky93
Copy link

Description

Hi,

would it be possible to add lineHeight property to the Paragraph? :)

@kokosky93 kokosky93 added the enhancement New feature or request label Aug 1, 2024
@wcandillon
Copy link
Contributor

This is indeed an issue. Skia doesn't have lineHeight. Skia seems to have a working for it that we will try to expose

@kokosky93
Copy link
Author

Hi William, thank you for your response. I know you have ton of work.. but Is there any chance it can be added in the near future?

@bfricka
Copy link

bfricka commented Oct 24, 2024

It would be nice if Paragraph accepted lineHeight prop and also respected the props it says it should (like color). You can adjust the line height of the Paragraphs in the builder with .pushStyle({ heightMultiplier: lineHeightMultiplier }) if you need to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants