summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2017-07-21 15:22:23 +0200
committerTim Jenssen <tim.jenssen@qt.io>2017-07-21 14:04:33 +0000
commit561a50e3a107ba8c8540732d460e3590dd263730 (patch)
tree069967866a1d9a8f0fc5546ac74ccb878a256ff0
parenta4cb8479a3d9cbb4991b6886cfaa075f6991d08d (diff)
downloadqt-creator-561a50e3a107ba8c8540732d460e3590dd263730.tar.gz
QmlDesigner: Increase the size of resize handle
This makes it less likely to accidentally move an item instead of resizing it. Change-Id: I6102a05c50a68d50ea9e4a316f48089186b3a373 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
-rw-r--r--src/plugins/qmldesigner/components/formeditor/resizehandleitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmldesigner/components/formeditor/resizehandleitem.cpp b/src/plugins/qmldesigner/components/formeditor/resizehandleitem.cpp
index abdbd2d60b..d40e4067f9 100644
--- a/src/plugins/qmldesigner/components/formeditor/resizehandleitem.cpp
+++ b/src/plugins/qmldesigner/components/formeditor/resizehandleitem.cpp
@@ -50,7 +50,7 @@ void ResizeHandleItem::setHandlePosition(const QPointF & globalPosition, const Q
QRectF ResizeHandleItem::boundingRect() const
{
- return QRectF(- 3., - 3., 7., 7.);
+ return QRectF(- 5., - 5., 9., 9.);
}
void ResizeHandleItem::paint(QPainter *painter, const QStyleOptionGraphicsItem * /* option */, QWidget * /* widget */)