View Single Post
Old 08-27-2024, 01:15 PM   #22
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,887
Karma: 6120478
Join Date: Nov 2009
Device: many
QPlainTextEdit uses QTextLine in its text layout code. I took a look at QTextLine and it completely bases its height on the specific font's ascent, descent, and leading (line gap) metrics. I have no idea if we could subclass QTextLine and override its height routine to max that value against a user settable value or not.

Not sure if that is even possible.
KevinH is offline   Reply With Quote