summaryrefslogtreecommitdiff
path: root/src/plugins/qmlprofiler/qml/RangeDetails.qml
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@digia.com>2013-12-17 11:46:50 +0100
committerUlf Hermann <ulf.hermann@digia.com>2014-01-02 13:44:19 +0100
commitf08d46aa7d3f32185e140f4628a8efc411130ad7 (patch)
treefbe91a247dcc500538d45485b61c12392652ad70 /src/plugins/qmlprofiler/qml/RangeDetails.qml
parent32ced34b4948d3cfb9a4ad8442da123e305ef666 (diff)
downloadqt-creator-f08d46aa7d3f32185e140f4628a8efc411130ad7.tar.gz
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>
Diffstat (limited to 'src/plugins/qmlprofiler/qml/RangeDetails.qml')
-rw-r--r--src/plugins/qmlprofiler/qml/RangeDetails.qml3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/qmlprofiler/qml/RangeDetails.qml b/src/plugins/qmlprofiler/qml/RangeDetails.qml
index 862de0f4a3..b24a55944e 100644
--- a/src/plugins/qmlprofiler/qml/RangeDetails.qml
+++ b/src/plugins/qmlprofiler/qml/RangeDetails.qml
@@ -181,8 +181,7 @@ Item {
}
MouseArea {
- width: col.width + 45
- height: col.height + 30
+ anchors.fill: parent
drag.target: parent
drag.minimumX: 0
drag.maximumX: root.width - parent.width