Remove spacing between QWidgets

  • I added two QWidgets in my interface using QT designer. Added both of these into a QVBoxLayout and have set spacing to 0 in the designer.

    However, I still see a little space between these two Widgets. How can I remove spacing between them?


  • Maybe set it to 1, and 0 might be invalid? Or the widgets itself have a border pixel setup.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.