From ef7cfe1570c3835f60596eff727c07f8d9223d48 Mon Sep 17 00:00:00 2001 From: Tuomo Pelkonen Date: Mon, 7 Jun 2021 18:04:39 +0300 Subject: FlowEditor: set TopRightCorner as the default text position for FlowDecision Task-number: QDS-2508 Change-Id: I1bb62443b8361fc166a7e92644d2641194c105ef Reviewed-by: Thomas Hartmann --- src/plugins/qmldesigner/components/formeditor/formeditoritem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/qmldesigner/components/formeditor/formeditoritem.cpp b/src/plugins/qmldesigner/components/formeditor/formeditoritem.cpp index 6fac0dd0c3..ac9fbab89e 100644 --- a/src/plugins/qmldesigner/components/formeditor/formeditoritem.cpp +++ b/src/plugins/qmldesigner/components/formeditor/formeditoritem.cpp @@ -2046,7 +2046,7 @@ void FormEditorFlowDecisionItem::updateGeometry() QRectF textRect(0, 0, 100, 20); - Qt::Corner corner = Qt::TopLeftCorner; + Qt::Corner corner = Qt::TopRightCorner; if (qmlItemNode().modelNode().hasAuxiliaryData("dialogLabelPosition")) corner = qmlItemNode().modelNode().auxiliaryData("dialogLabelPosition").value(); @@ -2191,7 +2191,7 @@ void FormEditorFlowDecisionItem::paint(QPainter *painter, const QStyleOptionGrap QRectF textRect(0, 0, 100, 20); - Qt::Corner corner = Qt::TopLeftCorner; + Qt::Corner corner = Qt::TopRightCorner; if (qmlItemNode().modelNode().hasAuxiliaryData("dialogLabelPosition")) corner = qmlItemNode().modelNode().auxiliaryData("dialogLabelPosition").value(); -- cgit v1.2.3