-
16 Aug 2012 7:59 AM #1
SlideIn does not calculate Y location correctly (see fix included)
SlideIn does not calculate Y location correctly (see fix included)
Required Information
Version(s) of Ext GWT
3.0.1
Browser versions and OS
(and desktop environment, if applicable)- All
Virtual Machine
Not applicable
Description
If using slide in the slide in will occur not from the lower-left corner of a positioned component. Appears to be approximately centered (but this may be only due to my application)
Run mode
both
Steps to reproduce the problem- Define a button near the bottom of the page.
- Define a panel whose location will be the left X of the button and the Y will be the top of the bottom minus the size of the panel (say 400px).
- Add a select handler to the button and have it slide in the sized panel
- The panel will slide in from ~ the middle of the page (this may be dependent on the size of the panel - but either way it is not from the top of the button)
The slide in should start from the Y+Height location
Actual result
slide in appears mid screen and then component bounces to proper location
Possible fix
In the method increase of SlideIn change the case UP: to be the following
Code:caseUP: wrapEl.setTop(oBounds.getY() + (oBounds.getHeight() - v)); wrapEl.setHeight(v); break;
Stamp Image Bursting Application
see http://code.google.com/p/stamp-imagebursting/
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote