Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-31453

QMessageBox is not being centered to its parent in Mac OS.

XMLWordPrintable

    • macOS

      QMessageBox is not being centered to its parent. Even not able to move to center by move() method. Neither the exec call not the static methods display the window at center. Please refer to the attached example. This just a simple example. The project I am working on has many message boxes based on different events and scenarios and it is very annoying to have my main window somewhere and a message box somewhere else not even overlapping the main window geometry (when I move my main window to a corner of the screen).

        1. MsgBox.zip
          2 kB
          adaita kumar behera
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            sorvig Morten Sørvig
            adaitabehera adaita kumar behera
            Votes:
            3 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes