From 561a50e3a107ba8c8540732d460e3590dd263730 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Fri, 21 Jul 2017 15:22:23 +0200 Subject: [PATCH] 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 --- .../qmldesigner/components/formeditor/resizehandleitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qmldesigner/components/formeditor/resizehandleitem.cpp b/src/plugins/qmldesigner/components/formeditor/resizehandleitem.cpp index abdbd2d60b2..d40e4067f92 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 */)