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

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 13:52 UTC
Read the original article Hit count: 287

Filed under:
|
|
|

How to Place a QTextEdit in a QVBoxLayout with left and right margins? 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