Using a RichTextCtrl with Margins and a very specific qtf causes the size calculations to ignore a word that is moved from one line to the other. Application attached. Press the button. Here is the interesting bit. The QTF ends in "}}]". This causes the problem. Using "}}\n]" still has the problem. Using a space, "}} ]" works. Is this a bug or did I misunderstand spacing rules in QTF? Edit: adding the space, "}} ]" causes other qtfs that displayed properly before to be larger. This can be reproduced by deleting "descending" from the qtf.
Report message to a moderator