Re: Resizing child widget
Do solution nr 2 then select centralWidget, scroll widget properties to bottom to see layout properties then modify layouts margins as you wish.
Re: Resizing child widget
Ok, it works. Any idea about nr 1 issue?
Re: Resizing child widget
Quote:
Originally Posted by
drmath
Any idea about nr 1 issue?
You need to set the layout on the central widget and not on the main window widget, it has its own layout.
Re: Resizing child widget
Ok (if needed we have to add at bottom "layout->setContentsMargins(0,0,0,0);" code to remove void frame around central widget). Thanks