0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-03-13 22:03:47 +03:00

keepBottomSpace fixed

This commit is contained in:
Arin Alex 2018-01-23 20:53:53 +03:00
parent e7381c8d2f
commit 6693b33926

View File

@ -916,6 +916,7 @@ void BandDesignIntf::updateItemSize(DataSourceManager* dataManager, RenderPass p
{ {
qreal spaceBorder=0; qreal spaceBorder=0;
if (keepBottomSpaceOption()) spaceBorder = bottomSpace(); if (keepBottomSpaceOption()) spaceBorder = bottomSpace();
spaceBorder = spaceBorder>0 ? spaceBorder : 0;
if (borderLines()!=0){ if (borderLines()!=0){
spaceBorder += borderLineSize(); spaceBorder += borderLineSize();
} }