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

macOS style lacks DialogButtonBox implementation

    XMLWordPrintable

Details

    • 6c4c8665c5 (qt/qtdeclarative/dev) 6c4c8665c5 (qt/tqtc-qtdeclarative/dev) 0cf4570b0b (qt/qtdeclarative/6.4) 0cf4570b0b (qt/tqtc-qtdeclarative/6.4) efb1ceefae (qt/qtdeclarative/6.3) efb1ceefae (qt/tqtc-qtdeclarative/6.3) efb1ceefae (qt/qtdeclarative/6.3.2)

    Description

      This results in DialogButtonBox's buttons being Fusion style buttons, and looking out of place against user-provided Buttons in a DialogButtonBox:

      import QtQuick
      import QtQuick.Controls
      import QtQuick.Layouts
      
      ApplicationWindow {
          id: window
          title: qsTr("Hello World")
          width: 640
          height: 300
          visible: true
      
          Dialog {
              standardButtons: Dialog.Close | Dialog.Cancel | Dialog.Save
              visible: true
              anchors.centerIn: parent
      
              RowLayout {
                  Button {
                      text: "Cancel"
                  }
                  Button {
                      text: "OK"
                  }
              }
          }
      }
      

      Attachments

        Activity

          People

            mitch_curtis Mitch Curtis
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: