[apps] Variable Box Controller: improve layouts of variables

This commit is contained in:
Émilie Feral
2018-04-26 14:14:40 +02:00
committed by EmilieNumworks
parent b84972da6a
commit f1e574d8bc
2 changed files with 4 additions and 4 deletions

View File

@@ -141,7 +141,7 @@ void VariableBoxController::ContentViewController::willDisplayCellForIndex(Highl
if (m_currentPage == Page::Scalar) {
myCell->displayExpression(false);
char buffer[PrintFloat::k_maxComplexBufferLength];
evaluation->writeTextInBuffer(buffer, PrintFloat::bufferSizeForFloatsWithPrecision(Constant::LargeNumberOfSignificantDigits));
evaluation->writeTextInBuffer(buffer, PrintFloat::k_maxComplexBufferLength, Constant::ShortNumberOfSignificantDigits);
myCell->setSubtitle(buffer);
return;
}