Patch by Wim: The resulting expression string is now fit to the current width
of the window. Insignificant digits are truncated from the end. DeskCalc may also switch to scientific notation if there is not enough room left. Thanks a lot! Fixes ticket #5203. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36402 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -917,7 +917,7 @@ CalcView::Evaluate()
|
||||
}
|
||||
|
||||
// render new result to display
|
||||
fExpressionTextView->SetExpression(value.String());
|
||||
fExpressionTextView->SetValue(value.String());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user