Columns rendering has been fixed

This commit is contained in:
Arin Alexander 2018-07-18 19:48:05 +03:00
parent 1dc1702eb6
commit f3ba4fcd80
2 changed files with 3 additions and 1 deletions

View File

@ -62,7 +62,7 @@ RCC_DIR = $${ARCH_DIR}/$${BUILD_TYPE}/rcc
LIMEREPORT_VERSION_MAJOR = 1 LIMEREPORT_VERSION_MAJOR = 1
LIMEREPORT_VERSION_MINOR = 4 LIMEREPORT_VERSION_MINOR = 4
LIMEREPORT_VERSION_RELEASE = 91 LIMEREPORT_VERSION_RELEASE = 92
LIMEREPORT_VERSION = '\\"$${LIMEREPORT_VERSION_MAJOR}.$${LIMEREPORT_VERSION_MINOR}.$${LIMEREPORT_VERSION_RELEASE}\\"' LIMEREPORT_VERSION = '\\"$${LIMEREPORT_VERSION_MAJOR}.$${LIMEREPORT_VERSION_MINOR}.$${LIMEREPORT_VERSION_RELEASE}\\"'
DEFINES += LIMEREPORT_VERSION_STR=\"$${LIMEREPORT_VERSION}\" DEFINES += LIMEREPORT_VERSION_STR=\"$${LIMEREPORT_VERSION}\"

View File

@ -948,6 +948,8 @@ bool ReportRender::registerBand(BandDesignIntf *band, bool registerInChildren)
} }
if (m_currentColumn == -1) m_currentColumn = 0;
if ( (isMultiColumnHeader(band) && band->height() <= m_maxHeightByColumn[0]) || if ( (isMultiColumnHeader(band) && band->height() <= m_maxHeightByColumn[0]) ||
(band->height() <= m_maxHeightByColumn[m_currentColumn])){ (band->height() <= m_maxHeightByColumn[m_currentColumn])){