check what is being written to our log files.
[Pman.Core] / Pman.Dialog.Image.js
index fc046e5..50a667b 100644 (file)
@@ -197,6 +197,7 @@ Pman.Dialog.Image = {
     items  : [
      {
       xtype : 'ContentPanel',
+      fitContainer : true,
       fitToFrame : true,
       region : 'center',
       xns : Roo,
@@ -222,8 +223,11 @@ Pman.Dialog.Image = {
               
                   _this.form.findField('imgtype').hide();
                   
+                  _this.dialog.resizeTo(500, 140);
+                  
                   if(_this.data._show_image_type){
                       _this.form.findField('imgtype').show();
+                      _this.dialog.resizeTo(500, 170);
                   }
                   
                   this.url = _this.data._url ? _this.data._url : baseURL + '/Roo/Images.php';