When you set the UI to 2X, i.e. desktop.Scale = new(2f, 2f); and then show a MessageBox the default position is at bottom right edge of the available window position, basically the entire message box is outside of the screen area except the tiny corner.
To reproduce:
-
Set scale to 2X, desktop.Scale = new(2f, 2f);
-
Show standard message box:
var messageBox = Dialog.CreateMessageBox("Message", "Some message!");
messageBox.ShowModal(desktop);
Confirmed in two separate projects.
When you set the UI to 2X, i.e.
desktop.Scale = new(2f, 2f);and then show aMessageBoxthe default position is at bottom right edge of the available window position, basically the entire message box is outside of the screen area except the tiny corner.To reproduce:
Set scale to 2X,
desktop.Scale = new(2f, 2f);Show standard message box:
Confirmed in two separate projects.