--
You received this message because you are subscribed to the Google Groups "Pencil Users" group.
To post to this group, send email to penci...@googlegroups.com.
To unsubscribe from this group, send email to pencil-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pencil-user?hl=en.
Pencil already does word wrapping: words that are too long to fit in
the line and are not the first word of the line are moved to the
beginning of the next line.
I believe you're looking for the word breaking: words that are too
long are broken between any two letters so that the maximum width of
the text block is filled.
I have seldom seen the combination of the two even though that is
probably what is most needed i.e. break words only if all else fails.
There are at least two other solutions to the problem.
1) resizing the containing element as Eduardo has suggested
2) resizing the text in the element as it is done in PowerPoint.
I'll think about this but I cannot promise you anything and more
importantly I cannot promise a timebox as my time is already quite
limited. Currently, my main concern (regarding pencil) is to make
sure it works with Firefox 4 without too many changes that break the
compatibility with the current version and the customs stencils
already created.
-- aleksi
style = " [...]; word-wrap: break-word; [...]"
A more advanced solution would add the rule as a stencil property.
The break-word rule worked better than I remembered as shown in
http://jsfiddle.net/wdP6K/.
-- aleksi