-
3 May 2012 2:40 PM #1Touch Premium Member
- Join Date
- May 2008
- Location
- Mount Maunganui, Bay of Plenty, New Zealand
- Posts
- 40
- Vote Rating
- 0
[4.1.0] Collapsed fieldset does not resize parent when opened
[4.1.0] Collapsed fieldset does not resize parent when opened
REQUIRED INFORMATION
Ext version tested:- Ext 4.1.0
- FF10.0.4
- Chrome18.0.1025.168
- Opera11.62
- When an initially collapsed fieldset is opened up, the parent panel it is in does not increase in height. If the fieldset is not initially collapsed then the parent renders correctly
- Create a panel with a "fit" layout but with no height specified
- Add a fieldset with a height of 200 and "collapsed" set to true
- when the fieldset is expanded the parent panel should also increase in height
- the parent panel does not increase in height
HELPFUL INFORMATIONCode:var form = Ext.create('Ext.form.Panel', { title: 'Company data', frame: true, bodyPadding: 5, width: 870, items: [{ height: 200, layout: 'fit', margin: '0 0 3 0', xtype: 'fieldset', collapsible: true, collapsed: true, title: "Field set" }], renderTo: bd });
Operating System:- Gentoo Linux
- WinXP Pro
-
3 May 2012 3:37 PM #2
See if this is what you are looking for:
Regards,Code:var form = Ext.create('Ext.form.Panel', { renderTo: Ext.getBody(), frame: true, title: 'Simple Form with FieldSets', width: 350, items: [{ xtype: 'fieldset', title: 'Field Set', collapsible: true, collapsed: true, defaultType: 'textfield', layout: 'anchor', defaults: { anchor: '100%' }, items: [{ fieldLabel: 'Home', name: 'home', value: '(888) 555-1212' }, { fieldLabel: 'Business', name: 'business' }, { fieldLabel: 'Mobile', name: 'mobile' }, { fieldLabel: 'Fax', name: 'fax' }] }] });
Scott.
-
3 May 2012 4:35 PM #3Touch Premium Member
- Join Date
- May 2008
- Location
- Mount Maunganui, Bay of Plenty, New Zealand
- Posts
- 40
- Vote Rating
- 0
Last edited by allistar; 3 May 2012 at 5:02 PM. Reason: changed "grap" to "chart"
-
3 May 2012 4:50 PM #4
Yes, can confirm this has a bug, pushed to the tracker. Thanks for the test case.
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTJSIV-6129
in
4.1.


Reply With Quote
