title: Set main frame not resizable
body: <p>I want to set my main frame (whole application) not resizable by the user.  Can anyone tell me how to do it? </p>
  
  <p>When I set minimum and maximum size in layout design it does not work.  I'm still able to resize the whole application.</p>