Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.0
-
None
-
-
b1493678fc295765ce93e565c5194e860e746436 (qt/qtdeclarative/dev) a81c111dd056efbd37b6267871367f3d975a1078 (qt/qtdeclarative/5.15)
Description
In the code example, there is a red rectangle with HoverHandler. The margins are set to 20 and cursorShape:Qt.SplitHCursor. The cursor is changing the shape only withing rectangle, I think it should change within margins.
import QtQuick 2.15 import QtQuick.Window 2.15 Window { visible: true width: 640 height: 480 title: qsTr("Hello World") Rectangle { anchors.centerIn: parent width: 50 height: 50 color: "red" HoverHandler { margin: 20 cursorShape: Qt.SplitHCursor // Is hovered working on margin but cursorShape not changing onHoveredChanged: { console.log("Hovered", hovered) } } } }
Attachments
Issue Links
- resulted from
-
QTBUG-68073 Pointer Handlers: support setting the cursor somehow, during hover
- Closed