Committing alex's change to NSOutlineView

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13545 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
gcasa 2002-04-26 04:30:04 +00:00
parent b1b403c85a
commit 1360c93876
2 changed files with 11 additions and 2 deletions

View file

@ -119,7 +119,7 @@ static NSImage *unexpandable = nil;
[super initWithFrame: frame];
// Initial values
_indentationMarkerFollowsCell = NO;
_indentationMarkerFollowsCell = YES;
_autoResizesOutlineColumn = NO;
_autosaveExpandedItems = NO;
_indentationPerLevel = 0.0;
@ -867,7 +867,9 @@ static NSImage *unexpandable = nil;
{
position = _indentationPerLevel * level;
}
position += _columnOrigins[_clickedColumn];
if(location.x >= position && location.x <= position + [image size].width)
{
if(![self isItemExpanded: [self itemAtRow: _clickedRow]])