Hi, get the layout via QWidget::layout() and use:
Qt Code:
  1. layout()->setContentsMargin(0,0,0,0);
To copy to clipboard, switch view to plain text mode