Upgrade to ExtJS 3.1.0 - Released 12/16/2009
[extjs.git] / examples / layout / hbox.html
index fb9e11b..463a4a8 100644 (file)
@@ -19,7 +19,7 @@
         }\r
     </style>\r
     <script type="text/javascript">\r
         }\r
     </style>\r
     <script type="text/javascript">\r
-       \r
+\r
         Ext.onReady(function() {\r
 \r
             var replace = function(config){\r
         Ext.onReady(function() {\r
 \r
             var replace = function(config){\r
                         },\r
                         items: [{\r
                             xtype:'button',\r
                         },\r
                         items: [{\r
                             xtype:'button',\r
-                            text: 'Flex: All even',\r
+                            text: 'Flex: All even / Align: middle',\r
                             handler: function(){\r
                                 replace({\r
                                     layoutConfig: {\r
                             handler: function(){\r
                                 replace({\r
                                     layoutConfig: {\r
                             }\r
                         },{\r
                             xtype:'button',\r
                             }\r
                         },{\r
                             xtype:'button',\r
-                            text: 'Flex: Ratio',\r
+                            text: 'Flex: Ratio / Align: top',\r
                             handler: function(){\r
                                 replace({\r
                                     layoutConfig: {\r
                                         padding:'5',\r
                             handler: function(){\r
                                 replace({\r
                                     layoutConfig: {\r
                                         padding:'5',\r
-                                        align:'middle'\r
+                                        align:'top'\r
                                     },\r
                                     defaults:{margins:'0 5 0 0'},\r
                                     items:[{\r
                                     },\r
                                     defaults:{margins:'0 5 0 0'},\r
                                     items:[{\r
                             }\r
                         },{\r
                             xtype:'button',\r
                             }\r
                         },{\r
                             xtype:'button',\r
-                            text: 'Pack: start',\r
+                            text: 'Pack: start / Align: middle',\r
                             handler: function(){\r
                                 replace({\r
                                     layoutConfig: {\r
                             handler: function(){\r
                                 replace({\r
                                     layoutConfig: {\r
                             }\r
                         },{\r
                             xtype:'button',\r
                             }\r
                         },{\r
                             xtype:'button',\r
-                            text: 'Pack: center',\r
+                            text: 'Pack: center / Align: middle',\r
                             handler: function(){\r
                                 replace({\r
                                     layoutConfig: {\r
                             handler: function(){\r
                                 replace({\r
                                     layoutConfig: {\r
                             }\r
                         },{\r
                             xtype:'button',\r
                             }\r
                         },{\r
                             xtype:'button',\r
-                            text: 'Pack: end',\r
+                            text: 'Pack: end / Align: middle',\r
                             handler: function(){\r
                                 replace({\r
                                     layoutConfig: {\r
                             handler: function(){\r
                                 replace({\r
                                     layoutConfig: {\r