From 8bbdefed20db4d3d33faa0073d20dd376d67226e Mon Sep 17 00:00:00 2001 From: Arin Alexander <arin_a@bk.ru> Date: Thu, 21 Apr 2016 12:09:28 +0300 Subject: [PATCH] Item alignment has been fixed --- limereport/lrbanddesignintf.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/limereport/lrbanddesignintf.cpp b/limereport/lrbanddesignintf.cpp index c8d2183..d0962ba 100644 --- a/limereport/lrbanddesignintf.cpp +++ b/limereport/lrbanddesignintf.cpp @@ -644,6 +644,11 @@ void BandDesignIntf::geometryChangedEvent(QRectF, QRectF ) m_bandMarker->setHeight(rect().height()); } } + foreach (BaseDesignIntf* item, childBaseItems()) { + if (item->itemAlign()!=DesignedItemAlign){ + item->updateItemAlign(); + } + } } QVariant BandDesignIntf::itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant &value)