forked from qt-creator/qt-creator
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:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user