-
29 Aug 2012 12:48 AM #1
Window maximazing bug
Window maximazing bug
Ext version tested:
- Ext 4.1.1
- Opera 12.00, Opera 12.01 (32, 64 bit), Firefox 15.0, IE 9
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
- Window is resized incorrectly within a viewport region
- Check the attached code
- Window should be resized totally within a region. There should be no blank spaces.
When window is resized with a standard function (property maximazable:true) it leaves some blank spaces, which somehow refer to the width of the east region.
Test Case:
Screenshot or Video:Code:Ext.require(['*']); Ext.onReady(function() { var cw; var viewport = Ext.create('Ext.Viewport', { layout: { type: 'border', padding: 5 }, defaults: { split: true }, items: [{ region: 'west', collapsible: true, floatable: true, split: true, width: 100, minWidth: 120, minHeight: 140, title: 'west' },{ region: 'center', id:'cabinet', title: 'Center', minHeight: 80, collapsible: true }] }); cw = Ext.create('Ext.Window', { xtype: 'window', closable: true, minimizable: true, maximizable: true, title: 'Constrained Window', height: 200, width: 400, constrain: true, itemId: 'center-window' }); cw.render(Ext.getCmp('cabinet').body); cw.show(); });
Before
before.png
After:
after.png
Debugging already done:- none
- not provided
- only default ext-all.css
- Windows 7
-
29 Aug 2012 12:54 AM #2
Can confirm on 4.1.1, however I ran this against our latest code and the issue has since been resolved. Thanks for the test case.
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
Looks like we can't reproduce the issue or there's a problem in the test case provided.


Reply With Quote