PDA

View Full Version : [1.1] - Segmented buttons are incredibly slow.



jay@moduscreate.com
25 Apr 2011, 8:18 AM
demo:
http://tdg-i.com/img/screencasts/2011-04-25_1216.mp4


Works the same on the ipad.

code



xt.setup({
onReady: function() {
var toolbar = {
xtype : 'toolbar',
dock : 'top',
// title : 'User admin',
items : [
{
xtype : 'button',
text : 'Submit'
},
{
xtype : 'spacer'
},
{
xtype : 'segmentedbutton',
items : [
{
text : 'Comedy'
},
{
text : 'Thrillers'
},
{
text : 'Horror'
}
]
},
{
xtype : 'spacer'
},
{
xtype : 'button',
text : 'Cancel'
}
]
};

new Ext.Panel({
fullscreen : true,
style : 'background-color: #CCF;',
html : 'Full screen Panel',
dockedItems : [
toolbar
]
});

}
});

mikemccarron
17 Nov 2011, 10:30 AM
Any word on this? I'm experiencing an issue like this albeit in landscape view only.

jay@moduscreate.com
18 Nov 2011, 6:15 AM
I learned that part of this slowness had to do w/ the fact that iOS was delaying the event. :( ST2 is way more responsive, especially on iOS 5, where the delay was either reduced or eliminated.