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

Material Button missing checked state visuals

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.7.0 RC
    • 5.7.0 Beta
    • Quick: Controls 2
    • None
    • c444fd5b641c8029b0f33681df057000160b3d5f

    Description

      There's no visual difference between normal and checked buttons:

      import QtQuick 2.6
      import QtQuick.Controls 2.0
      
      ApplicationWindow {
          width: 800
          height: 400
          visible: true
      
          Grid {
              columns: 3
              spacing: 20
              anchors.centerIn: parent
      
              Button { text: "Normal" }
              Button { text: "Down";     down: true }
              Button { text: "Disabled"; enabled: false }
      
              Button { text: "Checked";  checked: true }
              Button { text: "Down";     checked: true; down: true }
              Button { text: "Disabled"; checked: true; enabled: false }
      
              Button { text: "Highlighted"; highlighted: true }
              Button { text: "Down";        highlighted: true; down: true }
              Button { text: "Disabled";    highlighted: true; enabled: false }
      
              Button { text: "Hi-checked"; highlighted: true; checked: true }
              Button { text: "Down";       highlighted: true; checked: true; down: true }
              Button { text: "Disabled";   highlighted: true; checked: true; enabled: false }
          }
      }
      

      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