Skip to content

Commit

Permalink
Removed hardcoded width in disclosure button
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcarlberg committed May 25, 2012
1 parent 46aabf0 commit 2f87561
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion AppKit/CPOutlineView.j
Expand Up @@ -711,7 +711,8 @@ var CPOutlineViewCoalesceSelectionNotificationStateOff = 0,
return _CGRectMakeZero();

var dataViewFrame = [self _frameOfOutlineDataViewAtRow:aRow],
frame = _CGRectMake(_CGRectGetMinX(dataViewFrame) - 10, _CGRectGetMinY(dataViewFrame), 10, _CGRectGetHeight(dataViewFrame));
disclosureWidth = _CGRectGetWidth([_disclosureControlPrototype frame]),
frame = _CGRectMake(_CGRectGetMinX(dataViewFrame) - disclosureWidth, _CGRectGetMinY(dataViewFrame), disclosureWidth, _CGRectGetHeight(dataViewFrame));

return frame;
}
Expand Down

0 comments on commit 2f87561

Please sign in to comment.