[Qt-interest] QTextEdit line size, constraining size to integral lines

John Weeks john at wavemetrics.com
Fri Apr 9 21:09:29 CEST 2010


I would like to use a pair of QTextEdit widgets with a QSplitter  
arranged vertically. I would like to constrain the splitter to show no  
less than one line of text in either QTextEdit. Is that possible?

Can I get the line height of a QTextEdit or the underlying QDocument?

Should I use a QPlainTextEdit?

Thank you!
Regards, John Weeks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100409/a8ec0d88/attachment.html 


More information about the Qt-interest-old mailing list