Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12
-
2431853d824c6416f2cb760485df5cb4c27db7e5 (qt/qtquickcontrols2/5.12)
Description
Can be seen with styles that visualise hover state (such as the Material style), or by customising an indicator:
import QtQuick 2.5 import QtQuick.Controls 2.0 ApplicationWindow { visible: true width: 640 height: 480 SpinBox { id: mySpinBox from: 0 to: 100 value: 32 up.indicator: Rectangle { id: upIndicator x: parent.width - width y: (parent.height - height) / 2 implicitHeight: 40 implicitWidth: 40 color: mySpinBox.up.pressed ? "red" : (mySpinBox.up.hovered ? "blue" : "grey") } } }
Attachments
For Gerrit Dashboard: QTBUG-74688 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
257273,5 | SpinBox: fix indicators being hovered when mouse is moved while pressed | 5.12 | qt/qtquickcontrols2 | Status: MERGED | -2 | 0 |