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

Material style ToolButton's checked state is only visible when hovered

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.8.0 Alpha
    • Fix Version/s: 5.8.0 Alpha
    • Component/s: Quick: Controls 2
    • Labels:
      None
    • Commits:
      4092df376916ad9477547ecd4ef4679dc59e0fdf

      Description

      import QtQuick 2.7
      import QtQuick.Layouts 1.1
      import QtQuick.Controls 2.1
      
      ApplicationWindow {
          visible: true
          width: 640
          height: 480
      
          header: ToolBar {
              RowLayout {
                  ToolButton {
                      text: qsTr("B")
                      hoverEnabled: true
                      checkable: true
                  }
      
                  ToolButton {
                      text: qsTr("I")
                      hoverEnabled: true
                      checkable: true
                  }
      
                  ToolButton {
                      text: qsTr("U")
                      hoverEnabled: true
                      checkable: true
                  }
              }
          }
      }
      

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes