resources/Editors/Editor.Roo.LayoutDialog.bjs
[app.Builder.js] / resources / Editors / Editor.Roo.LayoutDialog.js
index 4538bb1..e8ea012 100644 (file)
@@ -246,6 +246,11 @@ Editor.Roo.LayoutDialog = new Roo.XComponent({
          }
        }
       },
+      {
+       '|xns' : 'Roo.Toolbar',
+       xns : Roo.Toolbar,
+       xtype : 'Separator'
+      },
       {
        '|xns' : 'Roo.Toolbar',
        text : _this._strings['040076bde7f6b3387448e32b66c2eee0'],
@@ -596,8 +601,6 @@ Editor.Roo.LayoutDialog = new Roo.XComponent({
            ar.push(a);
        });
        
-       
-       Roo.log(ar);
        this.schema = data;
        
        //alert("IPC:TEST:" + JSON.stringify(ar));
@@ -626,9 +629,9 @@ Editor.Roo.LayoutDialog = new Roo.XComponent({
            var el = {
                fieldLabel : rec.data.title,
                name : rec.data.dataIndex,
-               width : r.data.width,
+               width : rec.data.width,
                '|xns' : 'Roo.form',
-               xtype : rec.data.ftype
+               'xtype' : rec.data.ftype
            }
             if (xtype == 'DateField') {
                el.format = 'Y-m-d';