or sorry, you mean the size of the scrollarea at resize() ? That can you solve with: void xyz::resizeEvent( QResizeEvent * event){ scrollarea->resize(this->width(),this->height); }