You have specified the cookie name. Thus it should remember the last
size - that takes precedence over the specified initial size.

-Matej

On Tue, Apr 29, 2008 at 3:29 PM, Mathias P.W Nilsson
<[EMAIL PROTECTED]> wrote:
>
>  Hi! I can't set initial height and width on my modal window. It's always the
>  same height and width when opening it.
>
>
>         final ModalWindow modal;
>         add(modal = new ModalWindow("modal"));
>         modal.setPageMapName("modal-4");
>         modal.setCookieName("modal window 4");
>         modal.setInitialWidth(350);
>         modal.setInitialHeight(300);
>         modal.setResizable(false);
>         modal.setWidthUnit("px");
>         modal.setHeightUnit("px");
>
>  Any clues?
>  --
>  View this message in context: 
> http://www.nabble.com/Modal-window-and-height-tp16960447p16960447.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]
>
>



-- 
Resizable and reorderable grid components.
http://www.inmethod.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to