mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 15:00:38 +00:00
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:
parent
b1b403c85a
commit
1360c93876
2 changed files with 11 additions and 2 deletions
|
@ -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]])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue