mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 20:40:57 +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
f139e85fd8
commit
626e18c7c1
2 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
Fri Apr 26 12:45:07 2002 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Source/NSOutlineView.m: Added a patch by
|
||||
Alex Malmberg <alexander@malmberg.org> to correct behavior of
|
||||
the NSOutlineView when the outline column is not in the
|
||||
leftmost position.
|
||||
|
||||
Wed Apr 24 10:54:47 2002 Nicola Pero <n.pero@mi.flashnet.it>
|
||||
|
||||
* Model/GMAppKit.m ([NSMenuItem -initWithModelUnarchiver:]): Do not
|
||||
|
|
|
@ -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…
Reference in a new issue