PDA

View Full Version : Inner items not visible in sencha touch list 2.2



irshadnk
25 Apr 2013, 8:06 AM
Hi,
I am trying to add panels as inner items in List. But i can only see the last panel i added . I couldn't see any other panel.

Ext.create('Ext.List', { fullscreen: true,
scrollable: {
direction: 'vertical',
directionLock: true
},
items:[
{
xtype:'panel',
html:'hi',
height:300,
style:'background:blue'

},
{
xtype:'panel',
html:'hi1',
height:40
},
{
xtype:'panel',
html:'hi1',
height:40
}]
});
The problem is it works fine on sencha touch 2.0.0.

mitchellsimoens
27 Apr 2013, 6:03 AM
They are there, just overlapping. You need to use some CSS to handle the panels. Not too sure why you are doing this.

irshadnk
27 Apr 2013, 9:18 AM
Thanks for your reply.
I did the same thing on previous version of sencha (2.0.0) to make grid-view of photos. But when i moved to new version sencha(2.2.0) i can not see my panels . I can see the panels are there but its not visible as it was on the older version. Is there any specific config variables newly added or so. I spend 2 days to fix the issue but i couldn't find any solution yet. Any help will be highly appreciated.
Thanks.

mitchellsimoens
27 Apr 2013, 9:34 AM
The DOM structure has changed so you will have to review your CSS