PDA

View Full Version : Shadow does not follow when window is resized



janhov
9 Jul 2010, 7:54 AM
http://folk.uio.no/janhov/img/window1.png - Window with autoHeight set to true.

http://folk.uio.no/janhov/img/window2.png - When the root node is expanded the window is automatically resized, but the shadow remains the same.

What am I doing wrong?

Animal
9 Jul 2010, 8:04 AM
Window has a method for syncing the shadow. It's in the docs.

janhov
9 Jul 2010, 8:56 AM
Ok thanks. Window syncsize() on treepanel expandnode and collapsenode events works. It's a bit laggy tho.