Permalink
Browse files

Switch to vbox layout.

  • Loading branch information...
1 parent 462a351 commit 23c21a35d587193ed51657ea85444f1e5a5f2a44 @nelstrom nelstrom committed Feb 29, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 app.js
View
5 app.js
@@ -1,6 +1,5 @@
Ext.application({
name: 'Sencha',
- requires: ['Ext.Carousel'],
launch: function() {
@@ -22,9 +21,9 @@ Ext.application({
html: "Green"
};
- Sencha.container = Ext.create('Ext.Carousel', {
+ Sencha.container = Ext.create('Ext.Container', {
fullscreen: true,
- direction: 'vertical',
+ layout: 'vbox',
items: [red, amber, green]
});

0 comments on commit 23c21a3

Please sign in to comment.