Re: NSOutlineView's setIndentationMarkerFollowsCell
Re: NSOutlineView's setIndentationMarkerFollowsCell
- Subject: Re: NSOutlineView's setIndentationMarkerFollowsCell
- From: Scott Anguish <email@hidden>
- Date: Mon, 15 Sep 2003 02:32:28 -0400
On Sep 14, 2003, at 6:31 PM, Dustin Voss wrote:
What does NSOutlineView's setIndentationMarkerFollowsCell: method do?
I can't tell from the docs, and the archives say nothing.
Here's what the docs say:
setIndentationMarkerFollowsCell:
- (void) setIndentationMarkerFollowsCell: (BOOL) drawInCell
Sets whether the expansion symbol in an item should be displayed in
the cell with the item or left-justified in the column to drawInCell.
The default is YES (the symbol is displayed in the cell).
The description doesn't make any sense. The phrase "the cell with the
item" is meaningless since the any cell could display the item, or no
cell, depending on the data source.
Actually, only the column that is set as the datasource column can
display the indentation marker
Do they mean the "the outline column"? And the phrase "left-justified
in the column to drawInCell" is simply unparseable.
It should be
Sets whether the indentation marker symbol displayed in the outline
column should be indented along with the cell contents, or always
displayed left-justified in the column. The default is YES, the
indentation marker is indented along with the cell contents.
The existing text was confusing (and a bug as been filed), but the
method name is actually quite clear. :-)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.