diff --git a/limereport/lrbanddesignintf.cpp b/limereport/lrbanddesignintf.cpp index 14184ea..b20264b 100644 --- a/limereport/lrbanddesignintf.cpp +++ b/limereport/lrbanddesignintf.cpp @@ -916,6 +916,7 @@ void BandDesignIntf::updateItemSize(DataSourceManager* dataManager, RenderPass p { qreal spaceBorder=0; if (keepBottomSpaceOption()) spaceBorder = bottomSpace(); + spaceBorder = spaceBorder>0 ? spaceBorder : 0; if (borderLines()!=0){ spaceBorder += borderLineSize(); }