mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2024-12-24 12:34:39 +03:00
Merge branch 'master' into 1.4
This commit is contained in:
commit
30c1a954f3
@ -365,8 +365,9 @@ void ReportRender::renderBand(BandDesignIntf *patternBand, ReportRender::DataRen
|
|||||||
if (percent<bandClone->maxScalePercent()){
|
if (percent<bandClone->maxScalePercent()){
|
||||||
percent += 2;
|
percent += 2;
|
||||||
bandClone->setScale((100-percent)/100);
|
bandClone->setScale((100-percent)/100);
|
||||||
bandClone->setHeight(m_maxHeightByColumn[m_currentColumn]);
|
BandDesignIntf* upperPart = dynamic_cast<BandDesignIntf*>(bandClone->cloneUpperPart(m_maxHeightByColumn[m_currentColumn]));
|
||||||
registerBand(bandClone);
|
registerBand(upperPart);
|
||||||
|
delete bandClone;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
@ -381,8 +382,9 @@ void ReportRender::renderBand(BandDesignIntf *patternBand, ReportRender::DataRen
|
|||||||
startNewPage();
|
startNewPage();
|
||||||
}
|
}
|
||||||
if (!registerBand(bandClone)) {
|
if (!registerBand(bandClone)) {
|
||||||
bandClone->setHeight(m_maxHeightByColumn[m_currentColumn]);
|
BandDesignIntf* upperPart = dynamic_cast<BandDesignIntf*>(bandClone->cloneUpperPart(m_maxHeightByColumn[m_currentColumn]));
|
||||||
registerBand(bandClone);
|
registerBand(upperPart);
|
||||||
|
delete bandClone;
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
bandClone->setHeight(m_maxHeightByColumn[m_currentColumn]);
|
bandClone->setHeight(m_maxHeightByColumn[m_currentColumn]);
|
||||||
|
Loading…
Reference in New Issue
Block a user