Problem solved. I set setSizeConstraint(QLayout::SetNoConstraint) to layout and everything is as i wanted to
Forum Rules
Bookmarks