Strange WORDWRAP in a grid on displaying a LONGTEXT

The Field width is on 60 long But SC seems to have a hidden rule to do it differently. See the picture.

I tried a lot to solve it! There is definitely no manual line wrapping in the text below the number line.

strange_wordwrap

More strange effects . . .

more_strange_effects

It’s actually OK, if you count the number of char on each line it’s always near 60 and it will be over 60 if it doesn’t change line.

This is because the font you use is a True Type Font, the size of each char is different. Use a Monospace Font if you don’t want this to happen.

To do a manual line wrapping use <BR> in your text.

1 Like

I raised this issue before and it was a pain explaining what’s happening. I was eventually told it has something to to with 3rd party library and therefore nothing can be done until the 3rd party library is updated!

1 Like

[Closing unsolved]
I did different test with Monospace Font but ist has no significant effect. I think the WORDWRAP of PHP what SC is using has the problem and could be solved with next PHP release.

Workaround:
I gave the user the instruction how long could be a line for him and all less long will be display proper.