[Interest] QTextEdit with QDockWidget

Igor Mironchik igor.mironchik at gmail.com
Fri Sep 28 16:26:33 CEST 2018


Hello,

I have a dock widget with text edit field. When I set document to 
QTextEdit document layouts with smaller width than width of QTextEdit. Look.

Small width

I can't do so to enlarge the width of the text. But when I put enough 
text to fit all height then width of the text begin regards the width of 
QTextEdit. Loook.

Good width

Does anybody know how to fix this problem to force the document to 
regard the width of the control?

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180928/ed074136/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot_20180928_171625.png
Type: image/png
Size: 13941 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180928/ed074136/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot_20180928_171832.png
Type: image/png
Size: 19520 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180928/ed074136/attachment-0001.png>


More information about the Interest mailing list