QmlProfiler: anchor mouse areas of detail windows to parent items

Having a mouse area larger than the item to be dragged certainly
creates funny effects, but isn't really useful...

Change-Id: I98efb7a6145a09edfdbc090b34bb306383b302cd
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
Ulf Hermann
2013-12-17 11:46:50 +01:00
parent 32ced34b49
commit f08d46aa7d
2 changed files with 2 additions and 4 deletions

View File

@@ -181,8 +181,7 @@ Item {
} }
MouseArea { MouseArea {
width: col.width + 45 anchors.fill: parent
height: col.height + 30
drag.target: parent drag.target: parent
drag.minimumX: 0 drag.minimumX: 0
drag.maximumX: root.width - parent.width drag.maximumX: root.width - parent.width

View File

@@ -150,8 +150,7 @@ Item {
} }
MouseArea { MouseArea {
width: col.width + 45 anchors.fill: parent
height: col.height + 30
drag.target: parent drag.target: parent
drag.minimumX: 0 drag.minimumX: 0
drag.maximumX: root.width - parent.width drag.maximumX: root.width - parent.width