Multicolumn bands rendering has been fixed

This commit is contained in:
Arin Alexander
2018-06-07 20:43:05 +03:00
parent b1f73d9a1f
commit 846363708a
3 changed files with 87 additions and 60 deletions

View File

@@ -880,8 +880,10 @@ void BandDesignIntf::setPrintIfEmpty(bool printIfEmpty)
BandDesignIntf *BandDesignIntf::bandHeader()
{
foreach (BandDesignIntf* band, childBands()) {
if (band->isHeader() && !band->isGroupHeader())
if (band->isHeader() && !band->isGroupHeader()){
if (band->columnsCount() > 1) band->setColumnsFillDirection(this->columnsFillDirection());
return band;
}
}
return 0;
}