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

        1. material-toolbutton-checked.gif
          44 kB
          Mitch Curtis
        2. toolbutton-checked-fixed.png
          4 kB
          Mitch Curtis

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: