View Full Version : can not see the element in the formpanel when the formpanel is too high.

20 Sep 2009, 12:00 AM
Hi expert, I create a window inside is a complicit Formpanel.

editWindow = new Ext.Window({
//el: 'bd',
width: 570,
autoHeight: true,
autoScroll: true,
closable: true,
closeAction: 'hide',
resizable: false,
items: entityForm

But seems under IE the Window's position top is negative:

DISPLAY: block; Z-INDEX: 9002; FILTER: progid:DXImageTransform.Microsoft.alpha(opacity=50) progid:DXImageTransform.Microsoft.Blur(pixelradius=4); LEFT: 422px; WIDTH: 571px; TOP: -407px; HEIGHT: 1352px

SO I can not see all the element in the formpanel :(
Please check the attachment screen shot, the scrollbar is already scroll up to the top, and some of the form elements can not be visible.

But in Firefox, it is fine. The top is positive.

20 Sep 2009, 12:08 AM

20 Sep 2009, 12:10 AM
YOu CANNOT use autoHeight. You must give the Window a height, and layout: 'fit'. The FormPanel must be able configured autoScroll: true