It's all doable using size policies. Child widgets should have the policy set to Maximum or Preferred and it should work. Check out the code I gave you - the text edits adjust their size according to the size of the main window's central widget. You may only get scroll bars if you use a scroll area - get rid of it and the problem might go away.