Auto height and window shadow

28 Apr

Incorrect window shadow

The issue seems to appear when window autoHeight property is set to true. Which means that window height will be adjusted according to window contents height.But it starts misbehaving if you dynamically change the window contents – resize or add/delete new items.

Looks like the easiest solution is to call syncShadow() method on your window object.


The best place to stick it is after you modified the child controls or on window resize event.

* I haven’t tried replicating this issue in ExtJS 4.0.0 but it appeared on my 3.3.0 and prior.

Leave a comment

Posted by on April 28, 2011 in Sencha


Tags: , , ,

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: