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;
if (keepBottomSpaceOption()) spaceBorder = bottomSpace();
spaceBorder = spaceBorder>0 ? spaceBorder : 0;
if (borderLines()!=0){
spaceBorder += borderLineSize();
}