mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-27 18:38:49 +00:00
Fix the messed up misalignment in editable text fields.
This commit is contained in:
1 parent
461c8ef9d5
commit
40a647f80c
1 file changed
+1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user