php7 fixes
[Pman.Builder] / Pman.Tab.Builder.js
index c359156..86c2116 100644 (file)
@@ -8,13 +8,13 @@
 Pman.on('beforeload', function()
 {
     Pman.register({
-        modKey : '750-Pman.Tab.Builder',
+        modKey : '899-Pman.Tab.Builder',
         module : Pman.Tab.Builder,
         region : 'center',
         parent : Pman,
-        name : "Pman.Tab.Builder",
+        name : "Builder",
         disabled : false, 
-        permname: 'Builder' 
+        permname: 'Builder.Builder
     });
 });
 
@@ -33,33 +33,24 @@ Pman.Tab.Builder = new Roo.util.Observable({
         this.panel = parentLayout.addxtype({
             xtype: 'NestedLayoutPanel',
             xns: Roo,
-            title : "Customize",
+            listeners : {
+                activate : function (_self)
+                {
+                   _self.layout.getRegion('center').showPanel(0)
+                }
+            },
+            background : true,
+            fitToFrame : true,
+            region : 'center',
+            title : "Customize App",
             layout : {
                 xtype: 'BorderLayout',
                 xns: Roo,
-                north : {
-                    xtype: 'LayoutRegion',
-                    xns: Roo,
-                    height : 26
-                },
-                west : {
-                    xtype: 'LayoutRegion',
-                    xns: Roo,
-                    split : true,
-                    width : 255
-                },
                 center : {
-                    xtype: 'LayoutRegion',
-                    xns: Roo
-                },
-                east : {
                     xtype: 'LayoutRegion',
                     xns: Roo,
-                    collapsed : true,
-                    collapsible : true,
-                    split : true,
-                    width : 200,
-                    titlebar : true
+                    titlebar : false,
+                    tabPosition : 'top'
                 }
             }
         });