Where can you edit the window size of PDF / Print modal?

Hello.

Does anyone know where to control the modal window size from?

When I click on the PDF or Print export button the modal window that appears is much to small and it cuts off the PDF and Print controls?

Any help is appreciated.

Anyone help on this?

Where can you control the modal window settings?

Has you some screenshot to share? Don’t know whats exactly your problem

See picture for example of how modal gets cut off?

Modal-Size-Cutoff.jpg

[QUOTE=instore;27250]See picture for example of how modal gets cut off?

[/QUOTE]

I get that same problem. Haven’t found a way to change the modal size yet either.

any help on this?

Someone must have run into this before?

Ok, not do-able in Scriptcase front end at mo. But can be changed after you generate the code at the moment.

In your grid application folder, look for the files “grid_yourapplicationname_config_word.php” for print and pdf look for those file ending in pdf and print instead.

Now in the php file look for the line that says this:

<body class="scGridPage" style="margin: 10px; overflow-x: hidden">

Note, margin may be at 0px in some apps

After margin property put a width, i did this:

width: 250px;

And change the margin to 0px if it isn’t already.

So it looks like this:

<body class="scGridPage" style="margin: 0px; width: 250px; overflow-x: hidden">

Done. No screenshot right now, but it will work. This will need to be done for each grid app you have. Not super quick, but it is a work around for now and easy to do.

Now bear in mind any changes you make in these files will be lost when you regenerate and re-deploy the code in Scriptcase.

This is what works for me.
Hope that helps for now. :smiley: