DialogWindow with different components and scrollbar

Hi,

I’m trying to show a DailogWindow with some parameters to edit.
The amount and type of parameters is variable so I have a component to handle that.
The problem is that if the list of parameters is too big, even if I resize it, it can leave the “OK”/“Cancel” buttons and some of the parameters out of the window.
So I’d like to have the dialogWindow at a fix size and use a scrollbar but I can’t figure out how to do it.

Can someone point me in the right direction?

This is how I call my DialogWindow, and DlgVariables is just a Component:

    DialogWindow::LaunchOptions lo;
    lo.content.setOwned(new DlgVariables(index, ei->getSourceMAC(), ei->interfaceIndex, false, 400, 400, [this]() { m_dlgActive->closeButtonPressed(); m_dlgActive = nullptr; EnableButtons(true); }));
    lo.dialogTitle = "Set Debug Params for " + formatMAC(ei->getSourceMAC());
    lo.escapeKeyTriggersCloseButton = true;
    lo.useNativeTitleBar = false;
    lo.resizable = true;       

    m_dlgActive = lo.launchAsync();

Thanks in advance!