Unexpected blank line before QTextFrame
Unsolved
General and Desktop
-
Re: Unexpected blank line before QTextFrame
I can't show the solution here (because this is very long), but I know how to solve this problem.
You need to subclass
QAbstractTextDocumentLayout
.If you can do it, we use unvisible
QTextBlock
. We can delete the unexpected blank line.