You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by ChambreNoire <aw...@tentelemed.com> on 2014/12/17 14:19:09 UTC

Select overlaping inside autosized ModalWindow

Hi,

I have just noticed that if one places a select within the content panel
assigned to a ModalWindow, if the select is wider than any other component
in the content, it overlaps.

ex:

modal = new ModalWindow("modal")
    .setInitialHeight(0)
    .setInitialWidth(0)
    .setMinimalHeight(0)
    .setMinimalWidth(0)
    .setContent(new TestPanel(ModalWindow.CONTENT_ID))
    .setAutoSize(true);

<wicket:panel>
    test
    <select>
        <option>One</option>
        <option>Two</option>
        <option>Pretty long string just for example</option>
        <option>Three</option>
    </select>
</wicket:panel>

Any ideas?

CN

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Select-overlaping-inside-autosized-ModalWindow-tp4668822.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org