Revision: 12567
          http://sourceforge.net/p/skim-app/code/12567
Author:   hofman
Date:     2021-11-17 22:45:03 +0000 (Wed, 17 Nov 2021)
Log Message:
-----------
Use auto resizing mask for table cell views

Modified Paths:
--------------
    trunk/LeftSideView.xib
    trunk/NotesDocument.xib
    trunk/RightSideView.xib

Modified: trunk/LeftSideView.xib
===================================================================
--- trunk/LeftSideView.xib      2021-11-17 15:15:31 UTC (rev 12566)
+++ trunk/LeftSideView.xib      2021-11-17 22:45:03 UTC (rev 12567)
@@ -129,8 +129,9 @@
                                 <imageCell key="dataCell" 
refusesFirstResponder="YES" alignment="left" animates="YES" 
imageScaling="proportionallyDown" id="105"/>
                                 <tableColumnResizingMask key="resizingMask" 
resizeWithTable="YES" userResizable="YES"/>
                                 <prototypeCellViews>
-                                    <tableCellView 
translatesAutoresizingMaskIntoConstraints="NO" id="e74-jE-Wfb">
+                                    <tableCellView id="e74-jE-Wfb">
                                         <rect key="frame" x="11" y="1" 
width="132" height="32"/>
+                                        <autoresizingMask 
key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                                         <subviews>
                                             <imageView wantsLayer="YES" 
horizontalHuggingPriority="251" verticalHuggingPriority="251" 
horizontalCompressionResistancePriority="250" 
verticalCompressionResistancePriority="250" 
translatesAutoresizingMaskIntoConstraints="NO" id="HAk-jf-rsO" 
customClass="SKThumbnailImageView">
                                                 <rect key="frame" x="0.0" 
y="-3" width="132" height="38"/>
@@ -152,7 +153,7 @@
                                     </tableCellView>
                                     <customView identifier="row" 
translatesAutoresizingMaskIntoConstraints="NO" id="3fH-4A-dgM" 
customClass="SKHighlightingTableRowView">
                                         <rect key="frame" x="11" y="35" 
width="132" height="32"/>
-                                        <autoresizingMask 
key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                                        <autoresizingMask 
key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                                     </customView>
                                 </prototypeCellViews>
                             </tableColumn>
@@ -246,8 +247,9 @@
                                 </textFieldCell>
                                 <tableColumnResizingMask key="resizingMask" 
resizeWithTable="YES" userResizable="YES"/>
                                 <prototypeCellViews>
-                                    <tableCellView 
translatesAutoresizingMaskIntoConstraints="NO" id="E5O-BA-vGf">
+                                    <tableCellView id="E5O-BA-vGf">
                                         <rect key="frame" x="11" y="0.0" 
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">
                                                 <rect key="frame" x="0.0" 
y="2" width="132" height="16"/>
@@ -272,7 +274,7 @@
                                     </tableCellView>
                                     <customView identifier="row" 
translatesAutoresizingMaskIntoConstraints="NO" id="6hb-e2-9aK" 
customClass="SKHighlightingTableRowView">
                                         <rect key="frame" x="11" y="20" 
width="132" height="32"/>
-                                        <autoresizingMask 
key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                                        <autoresizingMask 
key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                                     </customView>
                                 </prototypeCellViews>
                             </tableColumn>
@@ -288,8 +290,9 @@
                                 </textFieldCell>
                                 <tableColumnResizingMask key="resizingMask" 
resizeWithTable="YES" userResizable="YES"/>
                                 <prototypeCellViews>
-                                    <tableCellView 
translatesAutoresizingMaskIntoConstraints="NO" id="kqC-1o-aAK">
+                                    <tableCellView id="kqC-1o-aAK">
                                         <rect key="frame" x="146" y="0.0" 
width="40" height="20"/>
+                                        <autoresizingMask 
key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                                         <subviews>
                                             <textField 
verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" 
translatesAutoresizingMaskIntoConstraints="NO" id="Rac-nE-BbY">
                                                 <rect key="frame" x="0.0" 
y="2" width="40" height="16"/>
@@ -357,8 +360,9 @@
                                 </textFieldCell>
                                 <tableColumnResizingMask key="resizingMask" 
resizeWithTable="YES" userResizable="YES"/>
                                 <prototypeCellViews>
-                                    <tableCellView 
translatesAutoresizingMaskIntoConstraints="NO" id="rTN-Wm-aea">
+                                    <tableCellView id="rTN-Wm-aea">
                                         <rect key="frame" x="11" y="1" 
width="47" height="17"/>
+                                        <autoresizingMask 
key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                                         <subviews>
                                             <textField 
verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" 
translatesAutoresizingMaskIntoConstraints="NO" id="5CV-AT-Wi3">
                                                 <rect key="frame" x="0.0" 
y="1" width="47" height="16"/>
@@ -395,8 +399,9 @@
                                 </textFieldCell>
                                 <tableColumnResizingMask key="resizingMask" 
resizeWithTable="YES" userResizable="YES"/>
                                 <prototypeCellViews>
-                                    <tableCellView 
translatesAutoresizingMaskIntoConstraints="NO" id="yHY-cQ-hrW">
+                                    <tableCellView id="yHY-cQ-hrW">
                                         <rect key="frame" x="61" y="1" 
width="116" height="17"/>
+                                        <autoresizingMask 
key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                                         <subviews>
                                             <textField 
verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" 
allowsExpansionToolTips="YES" translatesAutoresizingMaskIntoConstraints="NO" 
id="EK0-Iy-KhJ">
                                                 <rect key="frame" x="0.0" 
y="1" width="116" height="16"/>
@@ -469,8 +474,9 @@
                                 <sortDescriptor key="sortDescriptorPrototype" 
selector="compare:" sortKey="count" ascending="NO"/>
                                 <tableColumnResizingMask key="resizingMask" 
resizeWithTable="YES" userResizable="YES"/>
                                 <prototypeCellViews>
-                                    <tableCellView 
translatesAutoresizingMaskIntoConstraints="NO" id="9a8-cx-9oD" 
customClass="SKControlTableCellView">
+                                    <tableCellView id="9a8-cx-9oD" 
customClass="SKControlTableCellView">
                                         <rect key="frame" x="11" y="1" 
width="117" height="18"/>
+                                        <autoresizingMask 
key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                                         <subviews>
                                             <levelIndicator 
horizontalCompressionResistancePriority="250" 
verticalCompressionResistancePriority="250" 
translatesAutoresizingMaskIntoConstraints="NO" id="zvD-nR-1Ml" 
customClass="SKLevelIndicator">
                                                 <rect key="frame" x="0.0" 
y="2" width="117" height="16"/>
@@ -477,8 +483,8 @@
                                                 <levelIndicatorCell key="cell" 
alignment="left" maxValue="1" levelIndicatorStyle="relevancy" id="FRk-Gm-SMW" 
customClass="SKLevelIndicatorCell"/>
                                                 <connections>
                                                     <binding 
destination="9a8-cx-9oD" name="value" keyPath="objectValue.count" 
previousBinding="kWL-Vz-uBg" id="68o-25-wdJ"/>
+                                                    <binding 
destination="9a8-cx-9oD" name="toolTip" keyPath="objectValue.label" 
id="bi6-PT-g2z"/>
                                                     <binding 
destination="9a8-cx-9oD" name="maxValue" keyPath="objectValue.maxCount" 
id="kWL-Vz-uBg"/>
-                                                    <binding 
destination="9a8-cx-9oD" name="toolTip" keyPath="objectValue.label" 
id="bi6-PT-g2z"/>
                                                 </connections>
                                             </levelIndicator>
                                         </subviews>
@@ -507,8 +513,9 @@
                                 <sortDescriptor key="sortDescriptorPrototype" 
selector="compare:" sortKey="pageIndex"/>
                                 <tableColumnResizingMask key="resizingMask" 
resizeWithTable="YES" userResizable="YES"/>
                                 <prototypeCellViews>
-                                    <tableCellView 
translatesAutoresizingMaskIntoConstraints="NO" id="hdZ-O4-HlW">
+                                    <tableCellView id="hdZ-O4-HlW">
                                         <rect key="frame" x="131" y="1" 
width="46" height="17"/>
+                                        <autoresizingMask 
key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                                         <subviews>
                                             <textField 
verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" 
translatesAutoresizingMaskIntoConstraints="NO" id="6S7-C8-37w">
                                                 <rect key="frame" x="0.0" 
y="1" width="46" height="16"/>

Modified: trunk/NotesDocument.xib
===================================================================
--- trunk/NotesDocument.xib     2021-11-17 15:15:31 UTC (rev 12566)
+++ trunk/NotesDocument.xib     2021-11-17 22:45:03 UTC (rev 12567)
@@ -57,7 +57,7 @@
                                             <prototypeCellViews>
                                                 <customView identifier="row" 
id="yvn-lZ-y0P" customClass="SKNoteTableRowView">
                                                     <rect key="frame" x="11" 
y="1" width="389" height="17"/>
-                                                    <autoresizingMask 
key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                                                    <autoresizingMask 
key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                                                 </customView>
                                                 <tableCellView id="6Wp-hg-AAV">
                                                     <rect key="frame" x="11" 
y="20" width="389" height="17"/>

Modified: trunk/RightSideView.xib
===================================================================
--- trunk/RightSideView.xib     2021-11-17 15:15:31 UTC (rev 12566)
+++ trunk/RightSideView.xib     2021-11-17 22:45:03 UTC (rev 12567)
@@ -110,8 +110,9 @@
                                 </textFieldCell>
                                 <tableColumnResizingMask key="resizingMask" 
resizeWithTable="YES" userResizable="YES"/>
                                 <prototypeCellViews>
-                                    <tableCellView 
translatesAutoresizingMaskIntoConstraints="NO" id="ZGN-Pg-55C">
+                                    <tableCellView id="ZGN-Pg-55C">
                                         <rect key="frame" x="11" y="1" 
width="93" height="15"/>
+                                        <autoresizingMask 
key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                                         <subviews>
                                             <textField 
horizontalCompressionResistancePriority="250" 
verticalCompressionResistancePriority="250" preferredMaxLayoutWidth="122" 
translatesAutoresizingMaskIntoConstraints="NO" id="T6H-tX-biW">
                                                 <rect key="frame" x="0.0" 
y="0.0" width="93" height="15"/>
@@ -149,8 +150,9 @@
                                 </tableHeaderCell>
                                 <imageCell key="dataCell" 
refusesFirstResponder="YES" alignment="left" animates="YES" id="38" 
customClass="SKAnnotationTypeImageCell"/>
                                 <prototypeCellViews>
-                                    <tableCellView 
translatesAutoresizingMaskIntoConstraints="NO" id="dka-Zp-1o0">
+                                    <tableCellView id="dka-Zp-1o0">
                                         <rect key="frame" x="107" y="1" 
width="21" height="17"/>
+                                        <autoresizingMask 
key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                                         <subviews>
                                             <imageView 
horizontalHuggingPriority="251" verticalHuggingPriority="251" 
horizontalCompressionResistancePriority="250" 
verticalCompressionResistancePriority="250" 
translatesAutoresizingMaskIntoConstraints="NO" id="Wy1-6F-s9I" 
customClass="SKAnnotationTypeImageView">
                                                 <rect key="frame" x="0.0" 
y="0.0" width="21" height="17"/>
@@ -187,8 +189,9 @@
                                     <font key="font" metaFont="system"/>
                                 </customCell>
                                 <prototypeCellViews>
-                                    <tableCellView 
translatesAutoresizingMaskIntoConstraints="NO" id="qmc-ew-Bi0">
+                                    <tableCellView id="qmc-ew-Bi0">
                                         <rect key="frame" x="1" y="1" 
width="0.0" height="17"/>
+                                        <autoresizingMask 
key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                                         <subviews>
                                             <imageView 
horizontalHuggingPriority="251" verticalHuggingPriority="251" 
horizontalCompressionResistancePriority="250" 
verticalCompressionResistancePriority="250" 
translatesAutoresizingMaskIntoConstraints="NO" id="bUx-hD-kOV" 
customClass="SKColorView">
                                                 <rect key="frame" x="0.0" 
y="0.0" width="0.0" height="17"/>
@@ -221,8 +224,9 @@
                                     <color key="backgroundColor" 
name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
                                 </textFieldCell>
                                 <prototypeCellViews>
-                                    <tableCellView 
translatesAutoresizingMaskIntoConstraints="NO" id="rnK-rN-FoS">
+                                    <tableCellView id="rnK-rN-FoS">
                                         <rect key="frame" x="131" y="1" 
width="46" height="17"/>
+                                        <autoresizingMask 
key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                                         <subviews>
                                             <textField 
horizontalCompressionResistancePriority="250" 
verticalCompressionResistancePriority="250" 
translatesAutoresizingMaskIntoConstraints="NO" id="iuK-OP-ap6">
                                                 <rect key="frame" x="0.0" 
y="1" width="46" height="15"/>
@@ -259,8 +263,9 @@
                                 </textFieldCell>
                                 <tableColumnResizingMask key="resizingMask" 
resizeWithTable="YES" userResizable="YES"/>
                                 <prototypeCellViews>
-                                    <tableCellView 
translatesAutoresizingMaskIntoConstraints="NO" id="I4N-kX-XRY">
+                                    <tableCellView id="I4N-kX-XRY">
                                         <rect key="frame" x="1" y="1" 
width="0.0" height="17"/>
+                                        <autoresizingMask 
key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                                         <subviews>
                                             <textField 
verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" 
translatesAutoresizingMaskIntoConstraints="NO" id="C5T-Ik-oBo">
                                                 <rect key="frame" x="0.0" 
y="1" width="4" height="15"/>
@@ -298,8 +303,9 @@
                                 </textFieldCell>
                                 <tableColumnResizingMask key="resizingMask" 
resizeWithTable="YES" userResizable="YES"/>
                                 <prototypeCellViews>
-                                    <tableCellView 
translatesAutoresizingMaskIntoConstraints="NO" id="pRJ-Qg-L6f">
+                                    <tableCellView id="pRJ-Qg-L6f">
                                         <rect key="frame" x="1" y="1" 
width="0.0" height="17"/>
+                                        <autoresizingMask 
key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                                         <subviews>
                                             <textField 
verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" 
translatesAutoresizingMaskIntoConstraints="NO" id="dIJ-ix-es0">
                                                 <rect key="frame" x="0.0" 
y="1" width="4" height="16"/>
@@ -367,8 +373,9 @@
                                 <imageCell key="dataCell" 
refusesFirstResponder="YES" alignment="left" animates="YES" 
imageScaling="proportionallyDown" id="16"/>
                                 <tableColumnResizingMask key="resizingMask" 
resizeWithTable="YES" userResizable="YES"/>
                                 <prototypeCellViews>
-                                    <tableCellView 
translatesAutoresizingMaskIntoConstraints="NO" id="xMx-nb-bLR">
+                                    <tableCellView id="xMx-nb-bLR">
                                         <rect key="frame" x="11" y="1" 
width="127" height="32"/>
+                                        <autoresizingMask 
key="autoresizingMask"/>
                                         <subviews>
                                             <imageView 
horizontalHuggingPriority="251" verticalHuggingPriority="251" 
horizontalCompressionResistancePriority="250" 
verticalCompressionResistancePriority="250" 
translatesAutoresizingMaskIntoConstraints="NO" id="S6h-PX-WpE" 
customClass="SKThumbnailImageView">
                                                 <rect key="frame" x="0.0" 
y="-3" width="127" height="38"/>
@@ -402,8 +409,9 @@
                                 </textFieldCell>
                                 <tableColumnResizingMask key="resizingMask" 
resizeWithTable="YES" userResizable="YES"/>
                                 <prototypeCellViews>
-                                    <tableCellView 
translatesAutoresizingMaskIntoConstraints="NO" id="EU8-lX-Lad">
+                                    <tableCellView id="EU8-lX-Lad">
                                         <rect key="frame" x="141" y="1" 
width="36" height="15"/>
+                                        <autoresizingMask 
key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                                         <subviews>
                                             <textField 
horizontalCompressionResistancePriority="250" 
translatesAutoresizingMaskIntoConstraints="NO" id="r6v-xw-N5B">
                                                 <rect key="frame" x="0.0" 
y="0.0" width="36" height="15"/>

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to