Qt - How to place a QTextEdit with left and right margins in a QVBoxLayout?

Posted by Narek on Stack Overflow See other posts from Stack Overflow or by Narek
Published on 2010-06-16T13:31:24Z Indexed on 2010/06/16 16:12 UTC
Read the original article Hit count: 161

Filed under:
|
|
|

How to place a QTextEdit with left and right margins in a QVBoxLayout? I could use, of course, a QHBoxLayout, place the QTextEdit into that horizontal layout in between to spacings (addSpacing(40)) and only then the horizontal layout could add into the vertical layout, but want to know if there is a direct way of doing that.

© Stack Overflow or respective owner

Related posts about c++

Related posts about qt