X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/d41dc04ad17d1d9125fb2cf72db2b4782dbe3a8c..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