mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-24 16:44:39 +03:00
Columns placement has been fixed
This commit is contained in:
parent
ba46f39dcf
commit
c10a699d04
@ -928,7 +928,7 @@ bool ReportRender::registerBand(BandDesignIntf *band, bool registerInChildren)
|
|||||||
m_maxHeightByColumn.append(m_maxHeightByColumn[0]);
|
m_maxHeightByColumn.append(m_maxHeightByColumn[0]);
|
||||||
m_currentStartDataPos.append(m_currentStartDataPos[0]);
|
m_currentStartDataPos.append(m_currentStartDataPos[0]);
|
||||||
}
|
}
|
||||||
m_currentColumn = 0;
|
m_currentColumn = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -936,7 +936,7 @@ bool ReportRender::registerBand(BandDesignIntf *band, bool registerInChildren)
|
|||||||
(!band->isHeader() || (band->bandNestingLevel() > 0 && band->columnsFillDirection() != BandDesignIntf::Horizontal ))){
|
(!band->isHeader() || (band->bandNestingLevel() > 0 && band->columnsFillDirection() != BandDesignIntf::Horizontal ))){
|
||||||
|
|
||||||
if (band->columnsFillDirection() == BandDesignIntf::Horizontal){
|
if (band->columnsFillDirection() == BandDesignIntf::Horizontal){
|
||||||
if (m_currentColumn<band->columnsCount()-1)
|
if (m_currentColumn < band->columnsCount()-1)
|
||||||
m_currentColumn = m_currentColumn+1;
|
m_currentColumn = m_currentColumn+1;
|
||||||
else
|
else
|
||||||
m_currentColumn = 0;
|
m_currentColumn = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user