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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.8.0 Alpha
    • 5.8.0 Alpha
    • Quick: Controls 2
    • None
    • 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

              Unassigned Unassigned
              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