shouldn't this be `num_decimals + 2`?  I am reading this as all of the spin boxes having the same number of decimal places.