el.overlay = Ext.create('Ext.Panel', {
itemId:'widgetInfoPanel',
html: htmlText,
height: 200,
width: 300,
autoScroll:true,
modal: {
style: 'opacity: 0'
},
hideOnMaskTap:true,
items: [
{
xtype: 'button',
text: "Close".toUpperCase(),
cls: 'button-orange',
listeners: {
tap: function (button) {
el.overlay.hide();
}
}
}
]
});
As you can see this is a simple overlay that is created on button click but when the html content is too long it is supposed to show a scrollbar as I have set the autoScroll propoerty to true but I do not see that.
How do i enable that, I am using sencha touch