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

Material style hover effects inconsistent between similarly-sized ToolButtons

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat 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:
      038a0c308a03977d3694e16b31c1cf7c7e1a5611

      Description

      In the GIF below, only "TOOLS" has a rectangular hover effect, making it stand out from the others. This is a bit jarring, as it implies that there is some special meaning for that button.

      import QtQuick 2.7
      import QtQuick.Layouts 1.1
      import QtQuick.Controls 2.0
      
      ApplicationWindow {
          visible: true
          width: 640
          height: 480
      
          Shortcut {
              sequence: "Ctrl+Q"
              onActivated: Qt.quit()
          }
      
          header: ToolBar {
              RowLayout {
                  ToolButton {
                      text: qsTr("File")
                      hoverEnabled: true
                  }
      
                  ToolButton {
                      text: qsTr("Edit")
                      hoverEnabled: true
                  }
      
                  ToolButton {
                      text: qsTr("Tools")
                      hoverEnabled: true
                  }
              }
          }
      }
      

        Attachments

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

          Activity

            People

            Assignee:
            mitch_curtis Mitch Curtis
            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