For me it works just by using setinitialwidth/height... doesn't it work for
you too?

Cristi Manole

On Sat, May 3, 2008 at 3:14 PM, Mathias P.W Nilsson <[EMAIL PROTECTED]>
wrote:

>
> The java doc for the modal windows says
>
>  * <li><code>[EMAIL PROTECTED] #setResizable(boolean)}</code> specifies, 
> whether the
> window can be resized.
>  * <li><code>[EMAIL PROTECTED] #setInitialWidth(int)}</code> and <code>[EMAIL 
> PROTECTED]
> #setInitialHeight(int)}</code>
>  * specify the initial width and height of window. If the window is
> resizable, the unit of these
>  * dimensions is always "px". If the window is not resizable, the unit can
> be specified using
>  * <code>[EMAIL PROTECTED] #setWidthUnit(String)}</code> and <code>[EMAIL 
> PROTECTED]
> #setHeightUnit(String)}</code>.
>  * If the window is not resizable and the content is a component (not a
> page), the initial height
>  * value can be ignored and the actual height can be determined from the
> height of the content. To
>  * enable this behavior use <code>[EMAIL PROTECTED]
> #setUseInitialHeight(boolean)}</code>.
>  * <li>The window position (and size if the window is resizable) can be
> stored in a cookie, so that
>  * it is preserved when window is close. The name of the cookie is
> specified
> via
>  * <code>[EMAIL PROTECTED] #setCookieName(String)}</code>. If the name is
> <code>null</code>, position is
>  * not stored (initial width and height are always used). Default cookie
> name is null (position is
>  * not stored).
>
> Now I have setCookieName( null ) , set minimum height but the window
> always
> opens in the same size.
> How do I set the height and width exactly as I want?
>
> --
> View this message in context:
> http://www.nabble.com/Modal-window-and-height-tp16960447p17034566.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to