on 11-06-2006 6:06 PM
Hi,
I have a modal window created like this:
wdComponentAPI.getWindowManager().createModalWindow(windowInfo)
Unfortunately the size I have given to it is too big for some browsers(screens) and the result is a popup which is cut at the edges and also cannot be scrolled to show its content. Thats why I need somehow to dynamically set the modal window size depending on the browser and the resolution it will be shown.
Is this possible at all and if yes how?
Thanks for the replies
Best regards,
Jeny
Hi I032826
Maybe it'd be helpful to set the popup's size in percents
WDCssSize width = new WDCssSize(80, WDWindowUnitOfLength.PER_CENT);
WDCssSize height = new WDCssSize(80, WDWindowUnitOfLength.PER_CENT);
IWDWindow.setWindowSize(width, height);
BR
Sergei
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.