tuli
14th July 2012, 17:34
Following my previous post, i`d need custom line spacing in a QTextDocument.
No proper solution was found here:
http://www.qtcentre.org/threads/19297-QTextDocument-line-spacing
But after the post, an addition was supposedly made to Qt in 4.8.0:
https://bugreports.qt-project.org/browse/QTBUG-14470
Status: Closed Closed
Priority: P2: Important P2: Important
Resolution: Done
Affects Version/s: 4.7.0
Fix Version/s: 4.8.0
However, the thread fails to mention what exactly was added/changed, and i am unable to find anything in Qt 4.8.1. :/
I figured i am supposed to layout every single paragraph in the document by subclassing this:
http://doc.qt.nokia.com/4.7-snapshot/qabstracttextdocumentlayout.html
but i still wouldnt know how to change the line space...
Funny, Qt offers so much awesomeness, and then it`s these little things that you are left spending time on...:eek:
No proper solution was found here:
http://www.qtcentre.org/threads/19297-QTextDocument-line-spacing
But after the post, an addition was supposedly made to Qt in 4.8.0:
https://bugreports.qt-project.org/browse/QTBUG-14470
Status: Closed Closed
Priority: P2: Important P2: Important
Resolution: Done
Affects Version/s: 4.7.0
Fix Version/s: 4.8.0
However, the thread fails to mention what exactly was added/changed, and i am unable to find anything in Qt 4.8.1. :/
I figured i am supposed to layout every single paragraph in the document by subclassing this:
http://doc.qt.nokia.com/4.7-snapshot/qabstracttextdocumentlayout.html
but i still wouldnt know how to change the line space...
Funny, Qt offers so much awesomeness, and then it`s these little things that you are left spending time on...:eek: