Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / examples / layout / anchor.js
1 Ext.onReady(function() {
2     Ext.create('Ext.Viewport', {
3         layout:'anchor',
4         items:[{
5             title:'Item 1',
6             html:'100% 20%',
7             anchor:'100% 20%'
8         },{
9             title:'Item 2',
10             html:'50% 30%',
11             anchor:'50% 30%'
12         },{
13             title:'Item 3',
14             html:'-100 50%',
15             anchor:'-100 50%'
16         }]
17     });
18 });