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

Default Button colors

    XMLWordPrintable

Details

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

    Description

      • checked+disabled text is unreadable
      • no difference between checked+enabled+down vs. checked+disabled+down
      • checked+disabled vs. highlighted+disabled background is very close but different (can we align?)
        import QtQuick 2.6
        import QtQuick.Controls 2.0
        
        ApplicationWindow {
            visible: true
            width: grid.width
            height: grid.height
        
            Grid {
                id: grid
                columns: 4
                spacing: 20
                padding: 100
                anchors.centerIn: parent
        
                Button { text: "Normal" }
                Button { text: "Disabled"; enabled: false }
                Button { text: "Down";     down: true }
                Button { text: "Disabled"; down: true; enabled: false }
        
                Button { text: "Checked";  checked: true }
                Button { text: "Disabled"; checked: true; enabled: false }
                Button { text: "Down";     checked: true; down: true }
                Button { text: "Disabled"; checked: true; down: true; enabled: false }
        
                Button { text: "Highlighted"; highlighted: true }
                Button { text: "Disabled";    highlighted: true; enabled: false }
                Button { text: "Down";        highlighted: true; down: true }
                Button { text: "Disabled";    highlighted: true; down: true; enabled: false }
        
                Button { text: "Hi-checked"; highlighted: true; checked: true }
                Button { text: "Disabled";   highlighted: true; checked: true; enabled: false }
                Button { text: "Down";       highlighted: true; checked: true; down: true }
                Button { text: "Disabled";   highlighted: true; checked: true; down: true; enabled: false }
            }
        }
        

      Attachments

        1. default-buttons.png
          default-buttons.png
          26 kB
        2. proposed-colours.png
          proposed-colours.png
          43 kB
        3. universal-buttons.png
          universal-buttons.png
          35 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mitch_curtis Mitch Curtis
            jpnurmi J-P Nurmi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes