         
         textHeight = lineMetrics.height + UITextField.TEXT_HEIGHT_PADDING;
         
+        descent = lineMetrics.descent;
+        
         measuredWidth = textWidth;
         measuredHeight = textHeight;
     }

        var alphas:Array = [alpha, alpha, alpha];
        var colors:Array = [];
        
        matrix.createGradientBox(unscaledWidth, unscaledHeight - 1, Math.PI / 2, 0, 0);
        
        colors[0] = ColorUtil.adjustBrightness2(chromeColor, 20);
        colors[1] = chromeColor;
        colors[2] = ColorUtil.adjustBrightness2(chromeColor, -20);
        
        graphics.beginGradientFill(GradientType.LINEAR, colors, alphas, ratios, matrix);
        graphics.drawRect(0, 1, unscaledWidth, unscaledHeight);
        graphics.endFill();
    }
}

    
    private var border:SpriteVisualElement;
    
    private static var matrix:Matrix = new Matrix();
    
    private static const ratios:Array = [0, 127.5, 255];
