View Single Post
Old 11-21-2023, 08:36 PM   #21
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,625
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Looking at Qt forum (26th of May 2023), I found this comment related to line-height:

Quote:
The natural vertical spacing of text automatically wrapped or with deliberate line breaks is given by QFontMetrics::lineSpacing(). This figure is a function of font and size and is not adjustable out-of-the box.

You can subclass QLabel and provide your own rendering.
As this automatic line-height is, in a way, a clear loss of functionality for the user, I wondered if the Calibre editor could provide this mysterious (for me) "subclass".

Last edited by roger64; 11-21-2023 at 09:11 PM.
roger64 is offline   Reply With Quote