-
16 Jan 2013 7:22 AM #1
[4.2.0.265] Ext.layout.container.Auto.calculateOverflow()
[4.2.0.265] Ext.layout.container.Auto.calculateOverflow()
REQUIRED INFORMATION
Ext version tested:- Ext 4.2.0.265
Description:
It seems after refactor of this function, something have not been tested.
On line 508 and 509 the vars yauto and xauto are confused. The var me.lastOverflowAdjust on line 511 is not set.
-
16 Jan 2013 12:07 PM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,599
- Vote Rating
- 434
lastOverflowAdjust is set in the completeLayout method.
Do you have a test case that produces the errors?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.
-
17 Jan 2013 2:48 AM #3
When you click on an checkbox item, it will produce the errors.
Code:Ext.onReady(function() { Ext.create('Ext.window.Window', { title: 'Testwindow', layout: 'anchor', constrain: true, closeAction: 'hide', resizable: false, overflowY: 'auto', maxHeight: 200, width: 120, items: [ { xtype: 'form', border: false, anchor: '100%', defaults: { anchor: '100%' }, items: [ { xtype: 'checkboxgroup', hideLabel: true, columns: 1, vertical: true, items: [ { boxLabel: 'Item 1', name: 'rb', inputValue: '1' }, { boxLabel: 'Item 2', name: 'rb', inputValue: '2' }, { boxLabel: 'Item 3', name: 'rb', inputValue: '3' }, { boxLabel: 'Item 4', name: 'rb', inputValue: '4' }, { boxLabel: 'Item 5', name: 'rb', inputValue: '5' }, { boxLabel: 'Item 6', name: 'rb', inputValue: '6' }, { boxLabel: 'Item 7', name: 'rb', inputValue: '7' }, { boxLabel: 'Item 8', name: 'rb', inputValue: '8' }, { boxLabel: 'Item 9', name: 'rb', inputValue: '9' }, { boxLabel: 'Item 10', name: 'rb', inputValue: '10' }, { boxLabel: 'Item 11', name: 'rb', inputValue: '11' }, { boxLabel: 'Item 12', name: 'rb', inputValue: '12' }, { boxLabel: 'Item 13', name: 'rb', inputValue: '13' } ] } ] } ], buttons: [ { text: 'Hello' } ] }).show(); });
Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTJSIV-8253
in
4.2.0 Sprint 3.


Reply With Quote