1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    4
    Vote Rating
    0
    irshadnk is on a distinguished road

      0  

    Default Inner items not visible in sencha touch list 2.2

    Inner items not visible in sencha touch list 2.2


    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.
    Code:
    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.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,065
    Vote Rating
    852
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    They are there, just overlapping. You need to use some CSS to handle the panels. Not too sure why you are doing this.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Jul 2012
    Posts
    4
    Vote Rating
    0
    irshadnk is on a distinguished road

      0  

    Default


    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.

  4. #4
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,065
    Vote Rating
    852
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    The DOM structure has changed so you will have to review your CSS
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.