Skip to content

[BUG] Dialog.CreateMessageBox position error #496

@Lurler

Description

@Lurler

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:

  1. Set scale to 2X, desktop.Scale = new(2f, 2f);

  2. Show standard message box:

var messageBox = Dialog.CreateMessageBox("Message", "Some message!");
messageBox.ShowModal(desktop);

Confirmed in two separate projects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions