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

I defined line height and letterSpacing in TextStyle, but it didn't take effect! #210

Closed
sliverRing opened this issue Jan 11, 2020 · 4 comments

Comments

@sliverRing
Copy link

I defined line height and letterSpacing in TextStyle, but it didn't take effect!
TextStyle( fontSize: fontSuzie, height: 10, inherit: false, wordSpacing: 0.0, color: Color(0xFF535353), letterSpacing: 1.5)

@Sub6Resources
Copy link
Owner

How are you using TextStyle in the Html widget?

@sliverRing
Copy link
Author

I used the new parser and styled the way to define the html nodes.

How are you using TextStyle in the Html widget?

@JEuler
Copy link
Contributor

JEuler commented Jan 15, 2020

I am also having troubles with this. I'm setting up style for 'html' tag.

@erickok
Copy link
Collaborator

erickok commented Feb 8, 2021

 "p": Style(
              lineHeight: 1.5,
            ),

Screenshot 2021-02-08 at 15 35 31

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

No branches or pull requests

4 participants