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

REG: Material Slider's hovered effects visible when they shouldn't be

XMLWordPrintable

    • 0f534a6ce (dev), 09e0c8b98 (6.10), bccd8b4ef (6.9), e2a25789b (tqtc/lts-6.8)

      import QtQuick
      import QtQuick.Controls.Material
      
      ApplicationWindow {
          id: window
          width: 640
          height: 480
          visible: true
          title: slider.hoverEnabled
      
          Slider {
              id: slider
              anchors.centerIn: parent
              // handle: Rectangle {
              //     x: slider.leftPadding + Math.round(slider.horizontal ? slider.visualPosition * (slider.availableWidth - width) : (slider.availableWidth - width) / 2)
              //     y: slider.topPadding + Math.round(slider.horizontal ? (slider.availableHeight - height) / 2 : slider.visualPosition * (slider.availableHeight - height))
              //     width: 24
              //     height: 24
              //     color: slider.hovered ? Qt.lighter("steelblue") : "steelblue"
              // }
          }
      }
      

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

            inho Inho Lee
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes