Revision: 14845
http://sourceforge.net/p/skim-app/code/14845
Author: hofman
Date: 2024-12-21 16:04:46 +0000 (Sat, 21 Dec 2024)
Log Message:
-----------
calculate indentation in method when we know a parameter
Modified Paths:
--------------
trunk/SKNoteOutlineView.m
Modified: trunk/SKNoteOutlineView.m
===================================================================
--- trunk/SKNoteOutlineView.m 2024-12-18 22:28:34 UTC (rev 14844)
+++ trunk/SKNoteOutlineView.m 2024-12-21 16:04:46 UTC (rev 14845)
@@ -203,8 +203,12 @@
width += [tc width] + spacing;
}
}
- if (outlineIsFirst == 1)
- width -= [self outlineIndentation];
+ if (outlineIsFirst == 1) {
+ if (@available(macOS 11.0, *))
+ width -= [self style] == NSTableViewStylePlain ? 18.0 : 9.0;
+ else
+ width -= 16.0;
+ }
return width;
}
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