cappuccino/cappuccino — Issue #1400: CPTextField sizeToFit may clip text
Author: walisser
Created: 2011-11-17 15:55:19+00:00
State: open

You can see in the screenshot the right edge is clipped by one pixel

http://img24.imageshack.us/img24/1391/psimagef.jpg

```objective-j
var slash1 = [[CPTextField alloc] initWithFrame:CGRectMake(23, 7, 15, 18)];
[slash1 setStringValue:@"/"];
[slash1 sizeToFit];
[slash1 setBackgroundColor:[CPColor greenColor]];
```
Cappuccino 0.9.5
Chrome 16.0, Ubuntu 11.10

And here I've expanded the frame (after sizeToFit) by one pixel
http://img20.imageshack.us/img20/4802/psimageq.jpg