Tue, 14 Jan 2003, Benja Fallenstein wrote:
Benja: To get my "linebroken fix" work, I had to add an
additional " " for width before calling getHeight (and
linebroker). Without that linebroker "sometimes" broked the
line before was wanted...
Sorry, I do not understand -- I cannot parse the sentence... :-(
Sorry, bad language.
If I only calculated the width of the longest substring between two "\n",
linebreaker broke the line a word before "\n". After I added the length of
" " after the previous length, it worked fine (broke the line only from
"\n" because the width of the cellview was the length of the longest
substring between two "\n").