Aug 29, 2013, 3:34 AM
[CLOSED] Resize window based on dynamically loaded page.
Hi
Here is my scenario.
I have a window to which I dynamically load pages.
I want to use the largest Panel Heigh/Width from the loaded page, and adjust the window dimensions based on it.
I figure I can do a parent.window.setSize() after the page is loaded, but what event should I key off to get the final height/width if that panel?
I tried the "Render", "After Render" of the panels' listener events, but the height is really small...its giving me the height before the content is actually rendered...
TY
Here is my scenario.
I have a window to which I dynamically load pages.
I want to use the largest Panel Heigh/Width from the loaded page, and adjust the window dimensions based on it.
I figure I can do a parent.window.setSize() after the page is loaded, but what event should I key off to get the final height/width if that panel?
I tried the "Render", "After Render" of the panels' listener events, but the height is really small...its giving me the height before the content is actually rendered...
TY
Last edited by Daniil; Sep 03, 2013 at 5:05 AM.
Reason: [CLOSED]