mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-24 16:44:39 +03:00
Band marker has been fixed
This commit is contained in:
parent
bf3e34677a
commit
424665d038
@ -775,8 +775,7 @@ BandDesignIntf* BandDesignIntf::findParentBand()
|
||||
void BandDesignIntf::updateBandMarkerGeometry()
|
||||
{
|
||||
if (parentItem() && m_bandMarker){
|
||||
QPointF sp = parentItem()->mapToScene(pos());
|
||||
m_bandMarker->setPos((sp.x()-m_bandMarker->boundingRect().width()),sp.y());
|
||||
m_bandMarker->setPos(pos().x()-m_bandMarker->width(),pos().y());
|
||||
m_bandMarker->setHeight(rect().height());
|
||||
}
|
||||
}
|
||||
|
@ -479,7 +479,7 @@ void PageItemDesignIntf::relocateBands()
|
||||
{
|
||||
if (isLoading()) return;
|
||||
|
||||
int bandSpace = (itemMode() & DesignMode)?0:0;
|
||||
int bandSpace = 0;
|
||||
|
||||
QVector<qreal> posByColumn;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user