Home » U++ Library support » RichText,QTF,RTF... » Potential QTF minor bug or misunderstanding
Re: Potential QTF minor bug or misunderstanding [message #51726 is a reply to message #51693] |
Fri, 03 May 2019 10:52 |
cbpporter
Messages: 1401 Registered: September 2007
|
Ultimate Contributor |
|
|
mirek wrote on Fri, 26 April 2019 12:04Well, Margin is not accounted for in GetHeight, that is the root of problems.
I guess for your particular case, the metrics methods are sort of missing. However, if you look into ide AssistEditor::SyncAnnotationPopup() there is complete solution, you just need to account for margins...
Mirek
Thanks! For now I added (Zx(margin) + 1) * 2 to both height and width. Probably not perfect but improved.
|
|
|
Goto Forum:
Current Time: Sun May 05 08:17:51 CEST 2024
Total time taken to generate the page: 0.01724 seconds
|