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... » Text wrapping in QTF Table
Re: Text wrapping in QTF Table [message #56599 is a reply to message #56544] Sat, 27 March 2021 10:44 Go to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
Pradip wrote on Wed, 24 March 2021 05:39
Quote:
With GetHeight, you would not need to specify width...


Oh, sorry I don't know how to handle RichCell and RichText properly Embarassed
To create that test cell we would still need to know the correct width right?


If you put nothing into it, just empty paragraph with proper font set, it will give you the height you need.

(Although, this might not be guaranteed in the future. Today, single line / single font cell height only depends on the font set. It is possible that with advanced unicode support, we will need to adjust that for characters with multiple marking that will extend the height of individual characters...)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: search in Report
Next Topic: Bugfix: Report header/footer looks good in dark mode, not dark
Goto Forum:
  


Current Time: Mon Sep 01 12:32:30 CEST 2025

Total time taken to generate the page: 0.05254 seconds