-
16 Mar 2012 12:29 PM #1
[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
But it works in this online sample (see South Western panel)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>
http://docs.sencha.com/ext-js/4-0/#!...ut/border.html
-
16 Mar 2012 12:53 PM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 438
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.
-
27 Mar 2012 4:59 AM #3
Do you mean it will be in next release of 4.1 or not supported in 4.1?
-
27 Mar 2012 5:02 AM #4Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 438
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.
Looks like we can't reproduce the issue or there's a problem in the test case provided.


Reply With Quote