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

iOS: MessageDialog doesn't look native on iOS

    XMLWordPrintable

Details

    • iOS/tvOS/watchOS

    Description

      MessageDialog doesn't look like native UIAlertView on iOS.

      import QtQuick 2.3
      import QtQuick.Controls 1.2
      import QtQuick.Dialogs 1.2
      
      ApplicationWindow {
          visible: true
          width: 640
          height: 480
          title: qsTr("MessageDialog Test")
      
          MessageDialog {
              id: messageDialog
              title: "May I have your attention please"
              text: "It's so cool that you are using Qt Quick."
              onAccepted: {
                  console.log("And of course you could only agree.")
                  Qt.quit()
              }
              Component.onCompleted: visible = true
          }
      }
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            richard Richard Moe Gustavsen
            kileppal Kimmo Leppälä
            Votes:
            6 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes