PDA

View Full Version : [1.1.0] - showAnimation : true <-- valid according to docs!



jay@moduscreate.com
24 Apr 2011, 6:23 AM
http://tdg-i.com/img/screencasts/2011-04-24_1022.png



Ext.setup({
onReady: function() {

var floatingPanel = new Ext.Panel({ // 1
height : 200,
width : 200,
dock : 'left',
draggable : true, // 3
floating : true, // 2
showAnimation : true, // <---- valid according to docs!
// modal : true,
bodyStyle : 'padding: 10px; background-color: #FCC;',
html : 'Some help could go here.',
dockedItems : [
{
xtype : 'toolbar',
dock : 'top',
title : 'Drag me!'
}
]
});
floatingPanel.show();
floatingPanel.setPosition(50, 50);

}
});

results in:
http://tdg-i.com/img/screencasts/2011-04-24_1023.png

jay@moduscreate.com
24 Apr 2011, 6:29 AM
Added the following text for the readers of Sencha Touch in Action.

http://tdg-i.com/img/screencasts/2011-04-24_1028.png