Atozed Forums

Full Version: IWModalWindow doesn't show a 'templated region' centered
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

In IW14 I started using TIWModalWindow to show a region that has it's own templateprocessor to add some layout. The content of the modalwindow was not centered on the screen. Only after a resize action of the browser the modalwindow got centered. IW15 didn't bring changes to this.
By using the ServerController.JavascriptOptions I could get my hands on the IWModalWindow javascript object and made a change so the content is centered.

Alexandre: Can I send you an e-mail with example project so you can check?

Using IW15.0.13 with Delphi 10.1 Berlin.
> Alexandre: Can I send you an e-mail with example project so you can check?

Yes, please :-)