PDA

View Full Version : Different behavior from 3.2.3 to 3.3.0 on field positionning.



nico168
14 Mar 2013, 5:26 AM
Here is a simple code I found to illustrate a different behavior from 3.2.3 to 3.3.0 on field positionning.



var combo = new Ext.form.ComboBox();
var text = new Ext.form.TextField();
var panel = new Ext.Panel({
height:110,
renderTo:Ext.getBody(),
layout:'vbox',
items:[combo,text]
});

With extjs 3.2.3, the textfield is just below the combobox.
With extjs 3.3.0, the textfield is approx. 100px below the combobox.
if I replace height:110 with a higher value(120), then both version behave the same way (textfield just below the combobox).

I would like to migrate some code from 3.2.1 to 3.4 but i'm stuck with this pb.

Is it a known "bug" ? Does anybody have a workaround ?

Thanks

mitchellsimoens
17 Mar 2013, 8:12 AM
Have you tried this test with 3.4?

nico168
17 Mar 2013, 2:39 PM
yes, i've tried with 3.4, it's not working.