Pman.Dialog.Image.bjs
[Pman.Core] / Pman.Dialog.Image.js
index ee5068d..50a667b 100644 (file)
@@ -54,7 +54,7 @@ Pman.Dialog.Image = {
     closable : false,
     collapsible : false,
     haveProgress : false,
-    height : 150,
+    height : 140,
     modal : true,
     resizable : false,
     shadow : true,
@@ -197,6 +197,7 @@ Pman.Dialog.Image = {
     items  : [
      {
       xtype : 'ContentPanel',
+      fitContainer : true,
       fitToFrame : true,
       region : 'center',
       xns : Roo,
@@ -226,7 +227,7 @@ Pman.Dialog.Image = {
                   
                   if(_this.data._show_image_type){
                       _this.form.findField('imgtype').show();
-                      _this.dialog.resizeTo(500, 180);
+                      _this.dialog.resizeTo(500, 170);
                   }
                   
                   this.url = _this.data._url ? _this.data._url : baseURL + '/Roo/Images.php';