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