1. #1
    Sencha User
    Join Date
    Sep 2011
    Posts
    16
    Answers
    2
    Vote Rating
    0
    kasperpihl is on a distinguished road

      0  

    Default Unanswered: Make a panel slide on top of a carousel

    Unanswered: Make a panel slide on top of a carousel


    Hi
    I have a panel with a carousel at the top, and a panel representing the content at the item at the bottom.
    How can I smartest make so that panel at the bottom, can be swiped up above the carousel.
    Here are some test code.
    Hope the question is understood
    PHP Code:
    Ext.define('App.view.Test', {    
        
    extend'Ext.Panel',   
        
    config: {       
           
    fullscreen:true,
           
    layout:'vbox',
           
    items: [{
               
    xtype'carousel',            
               
    config:{                
                    
    height:170,                
                    
    flex:1
                
    },            
               
    indicatorfalse,        
          },
            {
                
    xtype'panel'
               
    config: { 
                   
    flex:1
                   
    scrollabletrue,
                }
            }]
        }
    }); 

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,207
    Answers
    3517
    Vote Rating
    856
    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


    what do you mean make the panel be swiped up above the carousel?
    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
    Sep 2011
    Posts
    16
    Answers
    2
    Vote Rating
    0
    kasperpihl is on a distinguished road

      0  

    Default


    Sorry if I was not clear enough.

    Simply what I mean is that i want do drag the entire panel up on top of the slider to see the whole content of it.
    Then if I drag the content down again, I can slide with the carousel to load new content.

Thread Participants: 1