Results 1 to 4 of 4

Thread: Inner items not visible in sencha touch list 2.2

  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    4
    Vote Rating
    0
      0  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,411
    Vote Rating
    1290
      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 @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    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
      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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,411
    Vote Rating
    1290
      0  

    Default

    The DOM structure has changed so you will have to review your CSS
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    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.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •