Yes, I was inserting spaces to achieve a fixed-width indent; things
are working much better now, thanks to your suggestion.
I tried overriding -titleRectForBounds in my NSTextViewCell subclass,
but for some reason, it never gets called (not really sure why). What
I ended up doing was overr
On 1 May 2009, at 04:49, Jim Correia wrote:
On Thu, Apr 30, 2009 at 11:38 PM, K. Darcy Otto
wrote:
Option 2: Moving the text displayed by the NSTableView to the right
by some
way other than inserting spaces. This might be the best way,
alleviating
the need for a custom field editor and
On Thu, Apr 30, 2009 at 11:38 PM, K. Darcy Otto wrote:
> Option 2: Moving the text displayed by the NSTableView to the right by some
> way other than inserting spaces. This might be the best way, alleviating
> the need for a custom field editor and editing the field editor text prior
> to displa
I have an NSTableView subclass that adds a few spaces to data from the
source when it is displayed. So:
Datasource for cell: "A" (1)
NSTableView displays: " A" (2)
Now, when the field editor is called, it edits (2), not (1). Fair
enough. But I need to edit (1). So, how do I do this? I