examples/dialog/uploadCropbox.js
[roojs1] / examples / dialog / uploadCropbox.js
index 7604320..7115ef0 100644 (file)
@@ -19,7 +19,7 @@ var uploadCropbox = {
         this.dialog = Roo.factory({
             xns : Roo,
             xtype : 'LayoutDialog',
-            width : 800,
+            width : 700,
             height : 600,
             center : {
                 xns : Roo,
@@ -30,13 +30,15 @@ var uploadCropbox = {
                     xtype: 'ContentPanel',
                     xns: Roo,
                     region : "center",
+                    fitContainer : true,
                     items : [
                         {
                             xtype : 'UploadCropbox',
                             xns : Roo.dialog,
                             minWidth : 720,
                             minHeight : 480,
-                            outputMaxWidth : 1300,
+                            outputMaxWidth : 1200,
+                            windowSize : 500,
                             url: 'http://localhost/web.MediaOutreach/press.local.php/Roo/Images.php',
                             buttons: [],
                             listeners : {