PDA

View Full Version : [FIXED] Window setShadow() is not defaulting to false



Kutu
26 Aug 2008, 10:51 AM
It seems that the Window.setShadow() is not defaulting to false.

Steps:

1. Go to : http://extjs.com/explorer/#window
2. Show the window
3. Investigate the CSS

<div class="x-shadow" id="my-283" style="display: block; left: 506px; top: 207px; width: 252px; height: 100px;">

Shouldn't this be "display: none" if setShadow() is false by default?

Kutu
26 Aug 2008, 2:19 PM
Here's another quirky scenario:

1) Create 2 Window objects
2) Set one of them to Modal
3) Show the non-modal one and see the CSS for shadow ( "display: block" )
4) Show and Hide the modal one
5) Show the non-modal one again and the CSS for shadow will be "display: none"

So somehow it works after the Modal window is shown.

darrellmeyer
27 Aug 2008, 8:56 AM
Fix is in SVN.