mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-30 04:00:02 +02:00
[apps] VariableBoxController: fix the row size to avoid overflowing the
maximal number of displayable rows
This commit is contained in:
committed by
LeaNumworks
parent
b784e7933a
commit
7b88770c15
@@ -170,7 +170,7 @@ KDCoordinate VariableBoxController::ContentViewController::rowHeight(int index)
|
||||
}
|
||||
ExpressionLayout * expressionLayout = expressionLayoutForIndex(index);
|
||||
if (expressionLayout) {
|
||||
return expressionLayout->size().height()+k_leafMargin;
|
||||
return max(expressionLayout->size().height()+k_leafMargin, Metric::ToolboxRowHeight);
|
||||
}
|
||||
return Metric::ToolboxRowHeight;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user