List modal window size

Hi there,
I have a classic list where i use Plumsail Forms forms (modern).
When i click new item, the new form opens in the popup dialog, however i am not able in any way to resize the dialog window.

I tried the code below but it does not work for me... i am assuming this will work only with a child form right?

//set width and height:
fd.control('SPDataTable0').dialogOptions = {
width: 1280,
height: 720

Is there a way to change the modal popup window width?

Hello @TKey,

Do you mean that the form opens in the panel?

You can set up the size of the panel in the designer:

Or using the custom styling:

  width: 1200px !important;

Please find more information about the form panel here.

Hello Margarita,
No, i have a classic list where i use Plumsail Forms. I use modal dialog to show the form not the panel.
I have multiple columns in the form which makes them squished and I do not know how to make dialog wider.

I do want to use the popup dialog for SharePoint classic look and feel consistency (the form inside the dialog is modern Plumsail Forms form). When i use panel to display the form or a whole page, my list automatically switches to modern look and feel.

Thank you,

Hello @TKey,

You can change modal dialog size using this code:

        //reduce distance from the left'ms-dlgContent')[0].style.left = "300px";
        //increase size of dialog and its contents'ms-dlgContent')[0].style.width = "1280px";'ms-dlgBorder')[0].style.width = "1260px";'ms-dlgFrame')[0].style.width = "1220px";
    }, 100);