X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/0494b8d9b9bb03ab6c22b34dae81261e3cd7e3e6..7a654f8d43fdb43d78b63d90528bed6e86b608cc:/examples/layout/anchor.js diff --git a/examples/layout/anchor.js b/examples/layout/anchor.js new file mode 100644 index 00000000..8b863b69 --- /dev/null +++ b/examples/layout/anchor.js @@ -0,0 +1,18 @@ +Ext.onReady(function() { + Ext.create('Ext.Viewport', { + layout:'anchor', + items:[{ + title:'Item 1', + html:'100% 20%', + anchor:'100% 20%' + },{ + title:'Item 2', + html:'50% 30%', + anchor:'50% 30%' + },{ + title:'Item 3', + html:'-100 50%', + anchor:'-100 50%' + }] + }); +}); \ No newline at end of file