mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2025-10-09 05:57:15 +03:00
Spliting band without AutoHeight has been fixed
This commit is contained in:
@@ -741,8 +741,10 @@ BandDesignIntf* ReportRender::sliceBand(BandDesignIntf *band, BandDesignIntf* pa
|
||||
while (band->height()>m_maxHeightByColumn[m_currentColumn]) {
|
||||
band = saveUppperPartReturnBottom(band,m_maxHeightByColumn[m_currentColumn],patternBand);
|
||||
if (!band->isEmpty()) {
|
||||
band->setHeight(0);
|
||||
band->updateItemSize(m_datasources);
|
||||
if (band->autoHeight()){
|
||||
band->setHeight(0);
|
||||
band->updateItemSize(m_datasources);
|
||||
}
|
||||
DataBandDesignIntf* data = dynamic_cast<DataBandDesignIntf*>(band);
|
||||
if (isLast && data && data->keepFooterTogether() &&
|
||||
band->height()<m_maxHeightByColumn[m_currentColumn] && band->sliceLastRow()
|
||||
|
Reference in New Issue
Block a user