X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..6746dc89c47ed01b165cc1152533605f97eb8e8d:/docs/source/VBox.html diff --git a/docs/source/VBox.html b/docs/source/VBox.html index 4f786265..e99d2e26 100644 --- a/docs/source/VBox.html +++ b/docs/source/VBox.html @@ -1,4 +1,21 @@ -Sencha Documentation Project
/**
+
+
+
+  
+  The source code
+  
+  
+  
+  
+
+
+  
/**
  * @class Ext.layout.container.VBox
  * @extends Ext.layout.container.Box
  * <p>A layout that arranges items vertically down a Container. This layout optionally divides available vertical
@@ -43,7 +60,7 @@ Ext.define('Ext.layout.container.VBox', {
     
     /* End Definitions */
 
-    /**
+    /**
      * @cfg {String} align
      * Controls how the child items of the container are aligned. Acceptable configuration values for this
      * property are:
@@ -86,5 +103,21 @@ Ext.define('Ext.layout.container.VBox', {
     perpendicularRB: 'r',
     perpendicularLeftTop: 'left',
     perpendicularRightBottom: 'right',
-    perpendicularPosition: 'x'
-});
\ No newline at end of file + perpendicularPosition: 'x', + configureItem: function(item) { + if (item.flex) { + item.layoutManagedHeight = 1; + } else { + item.layoutManagedHeight = 2; + } + + if (this.align === 'stretch' || this.align === 'stretchmax') { + item.layoutManagedWidth = 1; + } else { + item.layoutManagedWidth = 2; + } + this.callParent(arguments); + } +});
+ +