Hi, I think you will need to tweak some CSS rules. Wicket's ModalWindow main CSS class is 'wicket-modal'. So you have to provide CSS rule that sets the width for any .form-control in .wicket-modal. You can either use LESS/SASS to generate different rules for the different screens or with CSS media queries.
Martin Grigorov Wicket Training and Consulting On Tue, Feb 18, 2014 at 8:04 AM, Chris Colman <chr...@stepaheadsoftware.com>wrote: > We are using Wicket with Bootstrap which is fine except for modal > window. > > With Wicket it appears as though the modal window provides all the > markup for the out modal 'window'. We can provide HTML for the panels > within that but the outer modal seems to be Wicket generated. > > This seems to be causing problems when using responsive Bootstrap > because the calculations of the grid sizes are based on the screen and > not the width of the modal window and so the form fields end up being > wider than the form itself. > > Has anyone else had this problem? Is there a work around? > > We're not using the Wicket 'enable bootstrap' flag in the settings as we > support bootstrap and non bootstrap markup within the same wicket app. > > Regards, > Chris > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >