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

FormattedTextBlock handling long words #11

Open
quinkennedy opened this issue Jul 12, 2015 · 0 comments
Open

FormattedTextBlock handling long words #11

quinkennedy opened this issue Jul 12, 2015 · 0 comments

Comments

@quinkennedy
Copy link
Contributor

I noticed on the inside cover, the hash-tag is wrapped mid-word. This is perhaps not preferred, but it is probably better than letting the hashtag run off the edge of the page.

FormattedTextBlock would currently let it run off the edge of the page. Also, the FTB.maxWidth does not report the actual width, it might be better to call it constrainWidth to match the Height variables.

In any case, there are two different tasks. It would be good to decide which ones (or none) we want to do for initial zine release:

  1. have FormattedTextBlock keep track of actual width, and re-size font size if a word is too long for a line.
  2. have FormattedTextBlock wrap mid-word if the word is too long for the line.
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

1 participant