I think it is the latter case. The QPlaintextEdit document layout code is simply ignoring the QTextBlockFormat set and so always just uses the font bounding rectangle to determine spacing. The code just adds a left margin and a block number count, I think.
Last edited by KevinH; 08-27-2024 at 09:59 AM.
|