0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-03-31 06:33:43 +03:00

Item alignment has been fixed

This commit is contained in:
Arin Alexander 2016-04-21 12:09:28 +03:00
parent 1ade5d0666
commit 8bbdefed20

View File

@ -644,6 +644,11 @@ void BandDesignIntf::geometryChangedEvent(QRectF, QRectF )
m_bandMarker->setHeight(rect().height()); m_bandMarker->setHeight(rect().height());
} }
} }
foreach (BaseDesignIntf* item, childBaseItems()) {
if (item->itemAlign()!=DesignedItemAlign){
item->updateItemAlign();
}
}
} }
QVariant BandDesignIntf::itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant &value) QVariant BandDesignIntf::itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant &value)