Answered
Linked Containers- ability to avoid orphaned text lines
Once again visiting the Pagination example.... Is there any
elegant way to avoid having orphaned lines from spilling over to
the next container. I would love to be able to indicate that a
paragraph should always have at least two lines in a single
container, or some other solution that is similar... maybe an
attribute on a paragraph or span that indicates,
"keepLinesTogehter".
I realize that I could do some sort of calculation on the number of textlines after a container is updated, and then essentially modify the paragraphs to have line breaks to force an adjustment, but this seems like a real hack.
Any info is greatly appreaciated, and a solution would simply make my day.
Thanks,
Tim
Anything?
I realize that I could do some sort of calculation on the number of textlines after a container is updated, and then essentially modify the paragraphs to have line breaks to force an adjustment, but this seems like a real hack.
Any info is greatly appreaciated, and a solution would simply make my day.
Thanks,
Tim
Anything?
