Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

get size of window when resized

$
0
0
Version: SmartClient Version: v9.0p_2013-09-19/PowerEdition Deployment (built 2013-09-19)

Browsers: Chrome 34, Firefox 28

I'm having a modal window that implements DragResizeStopHandler, and I want to get the final width of the window when it's done. therefore I call window.getWidth() (or any other method that is available to get any width information), but it's always the 'old' width, not the new one. The event itself only let's me get x and y (which seems to be the position of the mouse pointer).

How do I get the new size of the window when it's resized?

Viewing all articles
Browse latest Browse all 4756

Trending Articles