PDA

View Full Version : [CLOSED] Fields incorrectly resized after window maximize & unmaximize or after window resize



msaric
21 Oct 2013, 5:36 AM
Ext version tested:

Ext 4.2.1
Ext 4.1.1
Browser versions tested against:

Chrome 30.0.1599.101
FF 24
Description:

After window maximize & unmaximize, fields are not resized to original width. Problem exists with extjs versions 4.1.1 and 4.2.1. It seems that field widths are not calculated with current window size, but with window width 'before' changing size.
With window `layout: 'fit'`, the example works as expected.
Running the same example with extjs-4.0.7, everything works as expected.
Steps to reproduce the problem:

run example on fiddle https://fiddle.sencha.com/#fiddle/133
maximize window (notice unchanged fields width)
unmaximize window (fields are too wide)
The result that was expected:

fields width should be the same as in initial starting window
The result that occurs instead:

fields are wider then window

Gary Schlosberg
21 Oct 2013, 8:43 AM
Thanks for the report! I have opened a bug in our bug tracker.