title: dojo.dialog.change size after content has been set
body: <pre><code>require(["dojo","dojo/dom-attr"], function(dojo, domAttr){
      var dlg =dijit.byId("my_dialog");       
      domAttr.set(dlg, "content", "this is a text");
  
  
      //dlg.set("dimensions", [400, 200]);
      //dojo.style("my_dialog", "width", "300px");                    
      //dlg.resize({h: 500, w: 500});
  });
  </code></pre>
  
  <p>I have a dijit.dialog. I set its text dynamically but the dialog's size is way too big. i've tried the three things commented above to no avail.</p>