Fit all digits of the selected input/output value in the text box

This fits the digits from two approaches:

  - wider input boxes
  - fewer digits of precision

Bug report: http://bugs.mitk.org/show_bug.cgi?id=15913