on 11-06-2006 5:57 PM
Hi,
I need to use IWDWindow setWindowSize(WDCssSize width, WDCssSize height) method. But I do not know hot to create
width and height of type WDCssSize.
Any suggestions will be appreciated:)
Thanks
Cheers,
Jeny
Hi there,
Try this
WDCssSize width = new WDCssSize(300, WDWindowUnitOfLength.PX);//300 pixels
WDCssSize height = new WDCssSize(200, WDWindowUnitOfLength.EX);//200 characters
Now you can use width and height to set the size.
Just curious- you can use the straight forward method like this
window.setWindowSize(300, 230); //width,height
Why do you want to use WDCsssize ?
Regards,
LM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Actually I posted another topic which is a kind of answer to your question: 'How to change a modal window size to fit into an arbitrary browser size'
I hoped that WDCssSize might help, but obviously I was wrong:(
Thanks for the reply
Regards,
Jeny
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.