Revision: 15844
http://sourceforge.net/p/skim-app/code/15844
Author: hofman
Date: 2025-12-07 16:57:27 +0000 (Sun, 07 Dec 2025)
Log Message:
-----------
move extra 2pt vertical spacing to cellSpacing in ToC outline view
Modified Paths:
--------------
trunk/LeftSideView.xib
trunk/SKOutlineView.m
Modified: trunk/LeftSideView.xib
===================================================================
--- trunk/LeftSideView.xib 2025-12-07 09:38:49 UTC (rev 15843)
+++ trunk/LeftSideView.xib 2025-12-07 16:57:27 UTC (rev 15844)
@@ -223,16 +223,16 @@
</scroller>
<point key="canvasLocation" x="267" y="154"/>
</scrollView>
- <scrollView focusRingType="none" autohidesScrollers="YES"
horizontalLineScroll="20" horizontalPageScroll="10" verticalLineScroll="20"
verticalPageScroll="10" hasHorizontalScroller="NO"
usesPredominantAxisScrolling="NO"
translatesAutoresizingMaskIntoConstraints="NO" id="116">
+ <scrollView focusRingType="none" autohidesScrollers="YES"
horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19"
verticalPageScroll="10" hasHorizontalScroller="NO"
usesPredominantAxisScrolling="NO"
translatesAutoresizingMaskIntoConstraints="NO" id="116">
<rect key="frame" x="0.0" y="0.0" width="200" height="400"/>
<clipView key="contentView" drawsBackground="NO"
translatesAutoresizingMaskIntoConstraints="NO" id="Hnd-hK-VAX">
<rect key="frame" x="1" y="1" width="198" height="398"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES"
heightSizable="YES"/>
<subviews>
- <outlineView focusRingType="none"
verticalHuggingPriority="750" allowsExpansionToolTips="YES"
columnAutoresizingStyle="firstColumnOnly" selectionHighlightStyle="sourceList"
columnReordering="NO" columnResizing="NO" multipleSelection="NO"
emptySelection="NO" autosaveColumns="NO" typeSelect="NO" rowHeight="20"
viewBased="YES" indentationPerLevel="14" outlineTableColumn="121"
translatesAutoresizingMaskIntoConstraints="NO" id="119"
customClass="SKOutlineView">
+ <outlineView focusRingType="none"
verticalHuggingPriority="750" allowsExpansionToolTips="YES"
columnAutoresizingStyle="firstColumnOnly" selectionHighlightStyle="sourceList"
columnReordering="NO" columnResizing="NO" multipleSelection="NO"
emptySelection="NO" autosaveColumns="NO" typeSelect="NO" viewBased="YES"
indentationPerLevel="14" outlineTableColumn="121"
translatesAutoresizingMaskIntoConstraints="NO" id="119"
customClass="SKOutlineView">
<rect key="frame" x="0.0" y="0.0" width="198"
height="398"/>
<autoresizingMask key="autoresizingMask"
widthSizable="YES" heightSizable="YES"/>
- <size key="intercellSpacing" width="3" height="0.0"/>
+ <size key="intercellSpacing" width="3" height="2"/>
<color key="backgroundColor"
name="_sourceListBackgroundColor" catalog="System" colorSpace="catalog"/>
<color key="gridColor" name="gridColor"
catalog="System" colorSpace="catalog"/>
<tableColumns>
@@ -249,7 +249,7 @@
<tableColumnResizingMask key="resizingMask"
resizeWithTable="YES" userResizable="YES"/>
<prototypeCellViews>
<tableCellView id="E5O-BA-vGf">
- <rect key="frame" x="11" y="0.0"
width="132" height="20"/>
+ <rect key="frame" x="11" y="1"
width="132" height="20"/>
<autoresizingMask
key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField
verticalHuggingPriority="750" horizontalCompressionResistancePriority="250"
allowsExpansionToolTips="YES" translatesAutoresizingMaskIntoConstraints="NO"
id="9Hp-6e-4aM">
@@ -274,7 +274,7 @@
</connections>
</tableCellView>
<customView identifier="row"
translatesAutoresizingMaskIntoConstraints="NO" id="6hb-e2-9aK"
customClass="SKHighlightingTableRowView">
- <rect key="frame" x="11" y="20"
width="132" height="32"/>
+ <rect key="frame" x="11" y="23"
width="132" height="32"/>
<autoresizingMask
key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
</customView>
</prototypeCellViews>
@@ -292,7 +292,7 @@
<tableColumnResizingMask key="resizingMask"
resizeWithTable="YES" userResizable="YES"/>
<prototypeCellViews>
<tableCellView id="kqC-1o-aAK">
- <rect key="frame" x="146" y="0.0"
width="40" height="20"/>
+ <rect key="frame" x="146" y="1"
width="40" height="20"/>
<autoresizingMask
key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField
verticalHuggingPriority="750" horizontalCompressionResistancePriority="250"
allowsExpansionToolTips="YES" translatesAutoresizingMaskIntoConstraints="NO"
id="Rac-nE-BbY">
Modified: trunk/SKOutlineView.m
===================================================================
--- trunk/SKOutlineView.m 2025-12-07 09:38:49 UTC (rev 15843)
+++ trunk/SKOutlineView.m 2025-12-07 16:57:27 UTC (rev 15844)
@@ -222,8 +222,6 @@
}
CGFloat rowHeight = SKDefaultLineHeightForFont(font);
- if ([self selectionHighlightStyle] ==
NSTableViewSelectionHighlightStyleSourceList)
- rowHeight += 2.0;
[self setRowHeight:rowHeight];
[self enumerateAvailableRowViewsUsingBlock:^(NSTableRowView *rowView,
NSInteger roww){
NSInteger col, numCols = [rowView numberOfColumns];
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