Skip to content

Commit

Permalink
Fix the messed up misalignment in editable text fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ross Boucher committed Sep 29, 2008
1 parent 461c8ef commit 40a647f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions AppKit/CPTextField.j
Expand Up @@ -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;

Expand Down

0 comments on commit 40a647f

Please sign in to comment.