Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Apr 2007
    Posts
    159
    Vote Rating
    0
    vladsch is on a distinguished road

      0  

    Default [4.1 RC1] Collapse mode mini doesn't work

    [4.1 RC1] Collapse mode mini doesn't work


    If you set collpaseMode: 'mini' for border layout region then header (placeholder) is still visible after collapse
    Please see the following sample
    HTML Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
        <title>Border Layout Example</title>
        <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
    
        <!-- GC -->
    
        <script type="text/javascript" src="../../ext-all.js"></script>
        <script type="text/javascript">
    			
    	 Ext.onReady(function () {   
    		 var w = Ext.create("Ext.window.Window", {			 			 
    			 height: 350,			 			 
    			 width: 600,			 
    			 items: [{
    				 minWidth: 175,
    				 width: 175,
    				 html : "I collapse to nothing",
    				 region: "west",
    				 split: true,
    				 collapseMode : 'mini',
    				 collapsible: true,
    				 title: "West Panel"
    			 }, {
    				 xtype: "panel",
    				 region: "center",
    				 title : "Center Panel"
    			 }],
    			 layout: "border",			 	 			 
    			 title: "Simple Layout"
    		 });
    		 
    		 w.show();
    	 });
     </script>
    </head>
    <body></body>
    </html>
    But it works in this online sample (see South Western panel)
    http://docs.sencha.com/ext-js/4-0/#!...ut/border.html

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,714
    Vote Rating
    438
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    This has already been fixed for the next release. Turns out the 4.1.0 releases didn't support it but it has been resolved.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    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 almost in print!

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

  3. #3
    Sencha User
    Join Date
    Sep 2011
    Posts
    8
    Vote Rating
    0
    hakana is on a distinguished road

      0  

    Default


    Do you mean it will be in next release of 4.1 or not supported in 4.1?

  4. #4
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,714
    Vote Rating
    438
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    It has been resolved for the nest release, it should work in RC2
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    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 almost in print!

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