Revision: 10190
http://sourceforge.net/p/skim-app/code/10190
Author: hofman
Date: 2018-12-28 13:42:29 +0000 (Fri, 28 Dec 2018)
Log Message:
-----------
add margin to resize indicator image to move it from the bottom
Modified Paths:
--------------
trunk/SKNoteOutlineView.m
Modified: trunk/SKNoteOutlineView.m
===================================================================
--- trunk/SKNoteOutlineView.m 2018-12-28 13:35:04 UTC (rev 10189)
+++ trunk/SKNoteOutlineView.m 2018-12-28 13:42:29 UTC (rev 10190)
@@ -152,11 +152,11 @@
[[self delegate] outlineView:self canResizeRowByItem:[self
itemAtRow:row]]) {
if (resizeIndicatorCell == nil) {
- NSImage *image = [[NSImage alloc] initWithSize:NSMakeSize(6.0,
3.0)];
+ NSImage *image = [[NSImage alloc] initWithSize:NSMakeSize(7.0,
5.0)];
[image lockFocus];
[[NSColor colorWithCalibratedWhite:0.0 alpha:0.7] setStroke];
- [NSBezierPath strokeLineFromPoint:NSMakePoint(0.0, 2.5)
toPoint:NSMakePoint(6.0, 2.5)];
- [NSBezierPath strokeLineFromPoint:NSMakePoint(2.0, 0.5)
toPoint:NSMakePoint(4.0, 0.5)];
+ [NSBezierPath strokeLineFromPoint:NSMakePoint(1.0, 3.5)
toPoint:NSMakePoint(7.0, 3.5)];
+ [NSBezierPath strokeLineFromPoint:NSMakePoint(3.0, 1.5)
toPoint:NSMakePoint(5.0, 1.5)];
[image unlockFocus];
[image setTemplate:YES];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit