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

Word wrap #179

Open
virilo opened this issue Jun 22, 2021 · 2 comments
Open

Word wrap #179

virilo opened this issue Jun 22, 2021 · 2 comments

Comments

@virilo
Copy link

virilo commented Jun 22, 2021

Would it be possible to activate a word wrap break-down in order to insert a newline between words, when the tag label is using more area than the canvas width?

So, instead of shrinking the label "Indians of North America", break the text in two lines:
"Indians of
North America"

Thanks in advance

@virilo
Copy link
Author

virilo commented Jun 22, 2021

I tried to force this behavior by introducing a \n or a <br/> but neither of them worked.

@Offbeatmammal
Copy link

this is something that would be very interesting. would be great if the lines could each have their own formatting, as for my specific usecase I'd want the second line to have a max font size that's smaller than the first line as it's just some supplemental text (specifically Country Name would be the first line and population size as the second)

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