JS/CSS and Size for Dialogs

Hi @laurent

i have tow questions for dialogs.

  • Can we get a addScript for dialogs like for panels?
  • Is it possible to set the size (height / width) of the dialog to fit it for more Data?

Regards
Alex

Can we get a addScript for dialogs like for panels?

Yes, it's supposed to be working already but looks like I forgot to add the function.

Is it possible to set the size (height / width) of the dialog to fit it for more Data?

Doesn't it auto-scale already to fit the content? Do you have an example that doesn't work for you?

grafik
The second checkbox text is not in on line and the last line is cut off.

The Dialog has a fixed width of 200, the height is automatically adjusted up to 670px.

For the second one, I think you just need to set the CSS as overflow-wrap: break-word; to make sure it wraps.

overflow-wrap: break-word;

Works :smiley: