U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » RichText,QTF,RTF... » Potential QTF minor bug or misunderstanding
Re: Potential QTF minor bug or misunderstanding [message #51593 is a reply to message #51592] Thu, 18 April 2019 15:43 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14290
Registered: November 2005
Ultimate Member
cbpporter wrote on Thu, 18 April 2019 15:35
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.


Works for me, but I suspect that is just by chance (my font size and my display etc...)

Can you post screenshot?

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: RawRichText - is it possible to have a fixed width RichTable column?
Next Topic: uword table and ctrl+a (bug)
Goto Forum:
  


Current Time: Wed Apr 29 11:14:28 GMT+2 2026

Total time taken to generate the page: 0.00892 seconds