Are dialogs resizable?


#1

Are the modal dialogs creatable in the current API resizable?

And how are they positioned on creation?

If not, is resizing something that’s on the timeline?


#2

Currently dialogs are not resizable. Their position depends upon the platform conventions, so:

  • on macOS, the dialog is rendered as a sheet that drops down from the navigation bar and is horizontally centered.
  • on Windows, the dialog is both vertically and horizontally centered in the XD window

Resizing is something that’s on the backlog.


#3

Hi, I’m using the dialog on mac and there is an issue: dialogs that changes dynamically the height are not rendered correctly while in windows they works fine. Any solution ?


#4

For the time being, dialogs should be given explicit dimensions. You can do this by assigning a width and height on the form element.