Fix row stretch issue.

This commit is contained in:
Gaute Lindkvist 2018-09-26 14:45:56 +02:00
parent e8a1d30f2d
commit 15a61f88e0

View File

@ -250,8 +250,10 @@ void caf::PdmUiFormLayoutObjectEditor::recursivelyConfigureAndUpdateUiOrderingIn
}
}
// Set last row to stretch
parentLayout->setRowStretch(currentRowIndex, 10);
if (currentRowIndex >= 0)
{
parentLayout->setRowStretch(currentRowIndex, 1);
}
}
//--------------------------------------------------------------------------------------------------