in reply to Re^3: How to resize mainwindow automatically
in thread How to resize mainwindow automatically

Hmm. If you set the max size to 400,500, then that will make it mighty difficult for the window to expand.
Missing a close bracket will also make it mighty difficult to compile.
  • Comment on Re^4: How to resize mainwindow automatically