Hi,
I'm facing a problem while setting popup window size. I have a requirement like this: the window should be auto re-sized while loading upto some extent. If the window content crosses the window maximum height, the window should not be extended and the scroll bars should appear for the popup window.
Im using property:
window.setAutosize(true);
window.setMaxHeight(700);
This is fine if the content is within screen height. But sometimes i may get content large. In this case, the window is extending to accomodate my content. This is really annoying and causing window height more than screen height.
If i add setHeight(200) method, it is showing window by default height 200px even if the content is not that much.
Hope i explained my problem clearly. What are the other properties i need to set to achieve my requirement?
I'm facing a problem while setting popup window size. I have a requirement like this: the window should be auto re-sized while loading upto some extent. If the window content crosses the window maximum height, the window should not be extended and the scroll bars should appear for the popup window.
Im using property:
window.setAutosize(true);
window.setMaxHeight(700);
This is fine if the content is within screen height. But sometimes i may get content large. In this case, the window is extending to accomodate my content. This is really annoying and causing window height more than screen height.
If i add setHeight(200) method, it is showing window by default height 200px even if the content is not that much.
Hope i explained my problem clearly. What are the other properties i need to set to achieve my requirement?
Comment