How to add padding in QSplitter ?
Solved
General and Desktop
-
i want to add padding between widget inside splitter.
Here in below picture you can see that my yellow button touch the left side i want to add padding at left and right.
How to Add padding between widget inside splitter ?
-
@Qt-embedded-developer I usually do it in the layout that widgets are placed in.
-
@Qt-embedded-developer every journey differs but please start reading here https://doc.qt.io/qt-5/layout.html where the general concepts are laid out.
In general you place your widgets in layouts so you can handle how they are, well, laid out - that includes margins, spacing, all that stuff.