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

Some Material controls do not respect Material.background

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.7.1
    • 5.7.0
    • Quick: Controls 2
    • None
    • 671a4a83bc709e5f871ed5d5b76ad078140283bf

    Description

      One would expect that Material.background works on ToolBar and Popup:

      import QtQuick 2.5
      import QtQuick.Window 2.2
      import QtQuick.Controls 2.0
      import QtQuick.Controls.Material 2.0
      
      ApplicationWindow {
          id: window
          width: 360
          height: 360
          visible: true
      
          Material.background: "#ccc"
      
          header: ToolBar {
              Material.background: "red"
          }
      
          Popup {
              Material.background: "red"
      
              visible: true
              x: 60; y: 60
              width: parent.width - 120
              height: parent.height - 120
              closePolicy: Popup.NoAutoClose
          }
      }
      

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            jpnurmi J-P Nurmi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes