[apps] Fix VariableBox for Matrix

This commit is contained in:
Émilie Feral
2018-09-07 15:14:58 +02:00
parent 676d78aa0c
commit 5d281aacc4
7 changed files with 15 additions and 8 deletions

View File

@@ -170,7 +170,7 @@ KDCoordinate VariableBoxController::ContentViewController::rowHeight(int index)
}
LayoutRef layoutR = layoutRefForIndex(index);
if (!layoutR.isUninitialized()) {
return layoutR.layoutSize().height()+k_leafMargin;
return max(layoutR.layoutSize().height()+k_leafMargin, Metric::ToolboxRowHeight);
}
return Metric::ToolboxRowHeight;
}