Fix the messed up misalignment in editable text fields.

This commit is contained in:
Ross Boucher committed 2008-09-29 13:28:39 -07:00
1 parent 461c8ef9d5
commit 40a647f80c
1 file changed
+1
+1
View File
@@ -283,6 +283,7 @@ var _CPTextFieldSquareBezelColor = nil;
element.style.font = _DOMElement.style.font;
element.style.zIndex = 1000;
element.style.width = CGRectGetWidth([self bounds]) - 3.0 + "px";
element.style.marginTop = "-1px";
//element.style.left = _DOMTextElement.style.left;
//element.style.top = _DOMTextElement.style.top;