X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2FBorderLayout.js;h=8228cedb34bef6696992b7287b641e08e059d2c5;hb=refs%2Fheads%2Fwip_leon_T7094_logo_image_upload_in_boilerplate;hp=b9c8efd58f73636d989ecdc5fc5fca782b93119f;hpb=540b2f573ef7f809f25d0b16729e98fd08faa718;p=roojs1 diff --git a/Roo/BorderLayout.js b/Roo/BorderLayout.js index b9c8efd58f..8228cedb34 100644 --- a/Roo/BorderLayout.js +++ b/Roo/BorderLayout.js @@ -11,6 +11,7 @@ /** * @class Roo.BorderLayout * @extends Roo.LayoutManager + * @children Roo.ContentPanel * This class represents a common layout manager used in desktop applications. For screenshots and more details, * please see:

* Cross Browser Layouts - Part 1
@@ -81,7 +82,6 @@ the container size if it is not the body element. */ Roo.BorderLayout = function(container, config){ config = config || {}; - Roo.log('borderlayout!!!!!!!!!!!!!!!!!!!'); Roo.BorderLayout.superclass.constructor.call(this, container, config); this.factory = config.factory || Roo.BorderLayout.RegionFactory; for(var i = 0, len = this.factory.validRegions.length; i < len; i++) { @@ -93,6 +93,22 @@ Roo.BorderLayout = function(container, config){ }; Roo.extend(Roo.BorderLayout, Roo.LayoutManager, { + + /** + * @cfg {Roo.LayoutRegion} east + */ + /** + * @cfg {Roo.LayoutRegion} west + */ + /** + * @cfg {Roo.LayoutRegion} north + */ + /** + * @cfg {Roo.LayoutRegion} south + */ + /** + * @cfg {Roo.LayoutRegion} center + */ /** * Creates and adds a new region if it doesn't already exist. * @param {String} target The target region key (north, south, east, west or center). @@ -123,7 +139,9 @@ Roo.extend(Roo.BorderLayout, Roo.LayoutManager, { * Performs a layout update. */ layout : function(){ - if(this.updating) return; + if(this.updating) { + return; + } var size = this.getViewSize(); var w = size.width; var h = size.height;