title: Set constant size of dialog box using Dialog API for Office Online
body: <p>Is there a way to set a constant size for the dialog box that is opened using the <a href="https://dev.office.com/docs/add-ins/develop/dialog-api-in-office-add-ins" rel="nofollow noreferrer" title="Dialog API">Dialog API</a>, by using the min-width/max-width CSS properties or otherwise? The API only allows setting the width and height percentage, which makes the box look inconsistent when resizing or using different resolutions (30% of 1024px is a skinny window, but looks fine for 1920 for example).</p>
  
  <p>I noticed that the "Office Add-ins" store pop up seems to have a min-width/max-width, so that when resizing it maintains a consistent look, and I'm hoping that I can leverage what it does as well.</p>