Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
mirek wrote on Fri, 26 April 2019 12:04
Well, 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.
 
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: Sun May 05 08:17:51 CEST 2024

Total time taken to generate the page: 0.01724 seconds