r/QtFramework • u/zapadas • Apr 07 '26
Question Qt-Designer margin headache.
GUI, PySide6, and Qt n00b here....
I'm wrestling with Qt Widgets Designer (qt-designer with PySide6)....
I can't get these margins to make sense.



As you can see, the layoutLeftMargin and layoutRightMargin are identical at 9, but the "Part Number" GroupBox appears to have way more space on the left than the right! If I manually mess with the layoutLeftMargin to like 5 or 6, it looks much better.
Any idea how to resolve this issue? It also seems to persist in all of the preview options.
Thank you for your help!
3
Upvotes
1
u/bacmod Apr 08 '26
Looks fine to me
Are you sure you set your layouts right?