Threaded View

  1. #1
    Ext JS Premium Member
    Join Date
    Mar 2008
    Location
    Germany, Frankfurt
    Posts
    142
    Answers
    1
    Vote Rating
    1
    enpasos is on a distinguished road

      0  

    Default Answered: BorderLayout - slideIn/slideOut

    Answered: BorderLayout - slideIn/slideOut


    Within a borderlayout panel I have a west and a center panel:

    PHP Code:
        ...
        
    layout'border',
        
    items: [ {
            
    region'west',
            
    width300,
            
    title'West',
            
    collapsibletrue,
            
    collapsedtrue,
            
    splittrue,
            ...       
        },{
            
    region'center',
            
    title'Center',
            
    splittrue,
            
    collapsiblefalse,
            ...
        } 
    It "works" by showing two behaviours:
    • slideIn/slideOut: By clicking the left bar the west region slides in over the center region. By clicking again is slides back.
    • collapse/expand: By clicking a tool icon (>>) the collapsed west region expands by pushing the center region to the right. Collapse works similar.

    I would only like to have the "slideIn/slideOut" effect but not the "collapse/expand" (and no (>>) icons). How to?
    I use ExtJS 4.0.5.

  2. Is what you want the same as in this thread? The problem is described a little differently but I think it may be the same.

    http://www.sencha.com/forum/showthread.php?143610

    I think hideCollapseTool: true should give you what you want.

Thread Participants: 3