Re: NSTextField stable text while toggling bezel
Re: NSTextField stable text while toggling bezel
- Subject: Re: NSTextField stable text while toggling bezel
- From: Jim Correia <email@hidden>
- Date: Sat, 17 Jun 2006 09:18:22 -0400
On Jun 17, 2006, at 4:27 AM, Sebastian Morsch wrote:
This works quite nicely, but when the textfield is borderless (and
the cell's rect is changed as in the above code) the textfield's
text still jumps back when I *select* it (as in setSelectable:YES)!
It is likely that you'll have to apply your offset in overrides of
the following:
- (void)editWithFrame:(NSRect)aRect inView:(NSView *)controlView
editor:(NSText *)textObj delegate:(id)anObject event:(NSEvent *)
theEvent;
- (void)selectWithFrame:(NSRect)aRect inView:(NSView *)controlView
editor:(NSText *)textObj delegate:(id)anObject start:(int)selStart
length:(int)selLength;
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden