Am Fr,15.08.2008 um 18:02 schrieb Tim Andersson:

Hi there,

I have a few questions about changing the way my NSTextFieldCells look while they are being edited. First off, when editing my cell, the cell's background-color changes to black (As such: http://img170.imageshack.us/img170/4610/bild1zq3.png) . Is there any way of changing it to white instead? I've tried setBackgroundStyle:NSBackgroundStyleLight without succes.
-setBackgroundColor: didn't work?



I'm also wondering if there's any chance of making the NSTextFieldCell behave like a NSTextField without border and focus ring?
Did you read the documentation about the relationship between cells and views?

So that the only thing that happens when I double-click to edit my cell is that the text is highlighted. I've tried setBordered:NO and setFocusRing:NSFocusRingTypeNone , but I still get a white border (And a black background) around it when I edit it.

All help is appreciated,
Tim Andersson

Cheers

Amin Negm-Awad
[EMAIL PROTECTED]




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to