                               maximum.toString().length ?
                               minimum :
                               maximum;
-    	widestNumber += stepSize;
-    	
-    	if (displayFormatFunction != null)
-    	    return displayFormatFunction(widestNumber).length;
-    	else 
-    	   return widestNumber.toString().length;
+        widestNumber += stepSize;
+        
+        if (displayFormatFunction != null)
+            return displayFormatFunction(widestNumber).length;
+        else 
+           return widestNumber.toString().length;
     }
     
     /**

        var prevValue:Number = value;
        
        if (extractValueFunction != null)
        	inputValue = extractValueFunction(textInput.text);
        else 
        	inputValue = Number(textInput.text);
        
        if (textInput.text == "" || (inputValue != value && 
            (Math.abs(inputValue - value) >= 0.000001 || isNaN(inputValue))))

     *  @private
     */
    override protected function commitProperties():void
    {   
        super.commitProperties();
        
        if (maxChanged || stepSizeChanged || displayFormatFunctionChanged)
        {
            textInput.widthInChars = calculateWidestValue();
            maxChanged = false;
            stepSizeChanged = false;
            
            if (displayFormatFunctionChanged)
            {
                applyDisplayFormatFunction();
               
                displayFormatFunctionChanged = false;
            }
        }
        
        if (extractValueFunctionChanged)
        {
            commitTextInput(false);
            extractValueFunctionChanged = false;
        }
            
        if (maxCharsChanged)
        {
            textInput.maxChars = _maxChars;
