diff options
author | Tuomo Pelkonen <tuomo.pelkonen@qt.io> | 2021-06-07 18:04:39 +0300 |
---|---|---|
committer | Tuomo Pelkonen <tuomo.pelkonen@qt.io> | 2021-06-08 06:14:05 +0000 |
commit | ef7cfe1570c3835f60596eff727c07f8d9223d48 (patch) | |
tree | c0e93b6d0c329ce222e547031e686ba4f898f0cd | |
parent | 6e9acfe08ef80f21221bc56d321b4e22c875a316 (diff) |
FlowEditor: set TopRightCorner as the default text position for FlowDecision
Task-number: QDS-2508
Change-Id: I1bb62443b8361fc166a7e92644d2641194c105ef
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
-rw-r--r-- | src/plugins/qmldesigner/components/formeditor/formeditoritem.cpp | 4 |
1 files 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<Qt::Corner>(); @@ -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<Qt::Corner>(); |