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

Can we adapt the font of multiples fitText using the max height of parent ? #27

Open
djonatanb opened this issue Jun 5, 2015 · 1 comment

Comments

@djonatanb
Copy link

I have 5 lines of text controlled by FitText, it is not mandatory to fill the 5 lines though, so I keep the max font size high. If the user enter 1 letter for each field though the height of the element exceeds it's limits and goes over the rest of the elements below.
Is there anyway that I could set a maximum parent height and adapt the fonts according to that too ?

@patrickmarabeas
Copy link
Owner

As in max height of each line would be the max parent height divided by number of lines?

(sorry for delay!)

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

2 participants