Try to fix table views columns width.

This commit is contained in:
Damiano Galassi committed 2020-11-12 10:49:09 +01:00
1 parent 89196df6b0
commit 9140ba3232
6 files changed
+168 -168

No files matched your search

+11 -11
View File
@@ -17,27 +17,27 @@
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
<customView id="1">
<rect key="frame" x="0.0" y="0.0" width="480" height="272"/>
<rect key="frame" x="0.0" y="0.0" width="751" height="272"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<subviews>
<tabView fixedFrame="YES" controlSize="small" translatesAutoresizingMaskIntoConstraints="NO" id="10">
<rect key="frame" x="-11" y="-12" width="502" height="279"/>
<rect key="frame" x="-11" y="-12" width="773" height="279"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<tabViewItems>
<tabViewItem label="Chapters" identifier="1" id="11">
<view key="view" id="12">
<rect key="frame" x="10" y="29" width="482" height="237"/>
<rect key="frame" x="10" y="25" width="753" height="241"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<scrollView fixedFrame="YES" autohidesScrollers="YES" horizontalLineScroll="16" horizontalPageScroll="10" verticalLineScroll="16" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="19">
<rect key="frame" x="17" y="36" width="448" height="195"/>
<rect key="frame" x="17" y="36" width="719" height="199"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<clipView key="contentView" id="gfP-N5-8Ji">
<rect key="frame" x="1" y="1" width="446" height="193"/>
<rect key="frame" x="1" y="1" width="717" height="197"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnSelection="YES" multipleSelection="NO" autosaveColumns="NO" rowHeight="14" headerView="23" viewBased="YES" id="22" customClass="ExpandedTableView" customModule="Subler" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="446" height="176"/>
<rect key="frame" x="0.0" y="0.0" width="717" height="180"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<size key="intercellSpacing" width="3" height="2"/>
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
@@ -326,7 +326,7 @@
</tableCellView>
</prototypeCellViews>
</tableColumn>
<tableColumn identifier="title" width="335" minWidth="40" maxWidth="2000" id="25">
<tableColumn identifier="title" width="606" minWidth="40" maxWidth="2000" id="25">
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="Title">
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" white="0.33333299" alpha="1" colorSpace="calibratedWhite"/>
@@ -339,11 +339,11 @@
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
<prototypeCellViews>
<tableCellView id="SuA-T8-hMx">
<rect key="frame" x="105" y="1" width="339" height="17"/>
<rect key="frame" x="105" y="1" width="610" height="17"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="KkS-kR-z72">
<rect key="frame" x="0.0" y="3" width="339" height="14"/>
<rect key="frame" x="0.0" y="3" width="610" height="14"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" title="Table View Cell" id="Ktq-AC-XnR">
<font key="font" metaFont="controlContent" size="11"/>
@@ -379,7 +379,7 @@
<autoresizingMask key="autoresizingMask"/>
</scroller>
<tableHeaderView key="headerView" id="23">
<rect key="frame" x="0.0" y="0.0" width="446" height="17"/>
<rect key="frame" x="0.0" y="0.0" width="717" height="17"/>
<autoresizingMask key="autoresizingMask"/>
</tableHeaderView>
</scrollView>
@@ -432,7 +432,7 @@
</tabViewItems>
</tabView>
</subviews>
<point key="canvasLocation" x="-207" y="-91"/>
<point key="canvasLocation" x="-36" y="-92"/>
</customView>
</objects>
<resources>
+34 -34
View File
@@ -26,19 +26,19 @@
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
<customView misplaced="YES" id="1">
<rect key="frame" x="0.0" y="0.0" width="606" height="163"/>
<rect key="frame" x="0.0" y="0.0" width="767" height="417"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<subviews>
<tabView controlSize="small" translatesAutoresizingMaskIntoConstraints="NO" id="10">
<rect key="frame" x="-11" y="-12" width="628" height="170"/>
<tabView misplaced="YES" controlSize="small" translatesAutoresizingMaskIntoConstraints="NO" id="10">
<rect key="frame" x="-11" y="-12" width="791" height="412"/>
<tabViewItems>
<tabViewItem label="Metadata" identifier="1" id="11">
<view key="view" id="12">
<rect key="frame" x="10" y="25" width="608" height="132"/>
<rect key="frame" x="10" y="25" width="771" height="374"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<popUpButton toolTip="Add a new metadata item" translatesAutoresizingMaskIntoConstraints="NO" id="30">
<rect key="frame" x="17" y="7" width="35" height="22"/>
<rect key="frame" x="17" y="7" width="29" height="22"/>
<constraints>
<constraint firstAttribute="height" constant="20" id="oAx-ac-cJp"/>
</constraints>
@@ -59,7 +59,7 @@
</connections>
</popUpButton>
<button toolTip="Remove selected item" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="53">
<rect key="frame" x="51" y="7" width="24" height="22"/>
<rect key="frame" x="45" y="7" width="24" height="22"/>
<constraints>
<constraint firstAttribute="width" constant="24" id="0TW-Pw-B6h"/>
</constraints>
@@ -73,7 +73,7 @@
</connections>
</button>
<popUpButton translatesAutoresizingMaskIntoConstraints="NO" id="179">
<rect key="frame" x="83" y="7" width="33" height="22"/>
<rect key="frame" x="77" y="7" width="33" height="22"/>
<constraints>
<constraint firstAttribute="width" constant="33" id="ZIk-ID-MnW"/>
</constraints>
@@ -90,14 +90,14 @@
</popUpButtonCell>
<accessibility description="Sets"/>
</popUpButton>
<scrollView autohidesScrollers="YES" horizontalLineScroll="16" horizontalPageScroll="10" verticalLineScroll="16" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="r4i-wT-qDC">
<rect key="frame" x="17" y="36" width="574" height="90"/>
<scrollView misplaced="YES" autohidesScrollers="YES" horizontalLineScroll="16" horizontalPageScroll="10" verticalLineScroll="16" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="r4i-wT-qDC">
<rect key="frame" x="17" y="36" width="737" height="328"/>
<clipView key="contentView" id="cQT-bX-0YB">
<rect key="frame" x="1" y="1" width="572" height="88"/>
<rect key="frame" x="1" y="1" width="735" height="326"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnReordering="NO" autosaveColumns="NO" typeSelect="NO" rowHeight="14" rowSizeStyle="automatic" headerView="qXU-xB-xRF" viewBased="YES" floatsGroupRows="NO" id="qg5-r0-E4V" customClass="ExpandedTableView" customModule="Subler" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="572" height="88"/>
<rect key="frame" x="0.0" y="0.0" width="735" height="303"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<size key="intercellSpacing" width="3" height="2"/>
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
@@ -141,7 +141,7 @@
</tableCellView>
</prototypeCellViews>
</tableColumn>
<tableColumn identifier="value" width="439" minWidth="40" maxWidth="4000" id="os0-Yb-exW">
<tableColumn identifier="value" width="602" minWidth="40" maxWidth="4000" id="os0-Yb-exW">
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" title="Value">
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
@@ -154,11 +154,11 @@
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
<prototypeCellViews>
<tableCellView identifier="TextCell" id="mjh-te-NdK">
<rect key="frame" x="127" y="1" width="443" height="14"/>
<rect key="frame" x="127" y="1" width="606" height="14"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="T0o-RG-lfn">
<rect key="frame" x="0.0" y="0.0" width="443" height="14"/>
<rect key="frame" x="0.0" y="0.0" width="606" height="14"/>
<textFieldCell key="cell" controlSize="small" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" title="Do not localize" id="WRR-52-lxo">
<font key="font" metaFont="menu" size="11"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -180,11 +180,11 @@
</connections>
</tableCellView>
<tableCellView identifier="TextCellForSizing" id="OUW-Fk-klv">
<rect key="frame" x="127" y="17" width="443" height="14"/>
<rect key="frame" x="127" y="17" width="606" height="14"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="AmC-rT-7Rf">
<rect key="frame" x="0.0" y="0.0" width="443" height="14"/>
<rect key="frame" x="0.0" y="0.0" width="606" height="14"/>
<textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" title="Do not localize" id="ipR-OL-rI2">
<font key="font" metaFont="menu" size="11"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -203,11 +203,11 @@
</connections>
</tableCellView>
<tableCellView identifier="PopUpCell" id="JEU-aR-J9v" customClass="PopUpCellView" customModule="Subler" customModuleProvider="target">
<rect key="frame" x="127" y="33" width="443" height="14"/>
<rect key="frame" x="127" y="33" width="606" height="14"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<popUpButton fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="cFv-4U-VzM">
<rect key="frame" x="0.0" y="-2" width="437" height="18"/>
<rect key="frame" x="0.0" y="-2" width="600" height="18"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
<popUpButtonCell key="cell" type="bevel" title="Do not localize" bezelStyle="rounded" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" imageScaling="proportionallyDown" inset="2" selectedItem="6Zb-NM-Mmo" id="Myn-C3-tc4">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
@@ -228,11 +228,11 @@
</connections>
</tableCellView>
<tableCellView identifier="BoolCell" id="DGy-Nb-PAN" customClass="CheckBoxCellView" customModule="Subler" customModuleProvider="target">
<rect key="frame" x="127" y="49" width="443" height="17"/>
<rect key="frame" x="127" y="49" width="606" height="17"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<button fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="oyk-jS-zmh">
<rect key="frame" x="0.0" y="-1" width="442" height="20"/>
<rect key="frame" x="0.0" y="-1" width="605" height="20"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<buttonCell key="cell" type="check" bezelStyle="regularSquare" imagePosition="left" controlSize="small" state="on" inset="2" id="f5s-ar-fW6">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
@@ -248,11 +248,11 @@
</connections>
</tableCellView>
<tableCellView identifier="ComboCell" id="vy5-48-Vip" customClass="ComboBoxCellView" customModule="Subler" customModuleProvider="target">
<rect key="frame" x="127" y="68" width="443" height="19"/>
<rect key="frame" x="127" y="68" width="606" height="19"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<comboBox verticalHuggingPriority="750" fixedFrame="YES" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="1000" translatesAutoresizingMaskIntoConstraints="NO" id="LbC-r6-Pau">
<rect key="frame" x="3" y="0.0" width="440" height="19"/>
<rect key="frame" x="3" y="0.0" width="603" height="19"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
<comboBoxCell key="cell" controlSize="small" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" alignment="left" title="Do not localize" usesSingleLineMode="YES" buttonBordered="NO" numberOfVisibleItems="5" id="jkg-xz-Hbn">
<font key="font" metaFont="menu" size="11"/>
@@ -288,7 +288,7 @@
<autoresizingMask key="autoresizingMask"/>
</scroller>
<tableHeaderView key="headerView" wantsLayer="YES" id="qXU-xB-xRF">
<rect key="frame" x="0.0" y="0.0" width="572" height="23"/>
<rect key="frame" x="0.0" y="0.0" width="735" height="23"/>
<autoresizingMask key="autoresizingMask"/>
</tableHeaderView>
</scrollView>
@@ -312,19 +312,19 @@
</tabViewItem>
<tabViewItem label="Artwork" identifier="Item 1" id="15">
<view key="view" id="16">
<rect key="frame" x="10" y="25" width="608" height="132"/>
<rect key="frame" x="10" y="25" width="771" height="374"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<scrollView focusRingType="none" autohidesScrollers="YES" horizontalLineScroll="134" horizontalPageScroll="10" verticalLineScroll="134" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="214">
<rect key="frame" x="17" y="-10" width="448" height="136"/>
<scrollView focusRingType="none" autohidesScrollers="YES" horizontalLineScroll="88" horizontalPageScroll="10" verticalLineScroll="88" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="214">
<rect key="frame" x="17" y="278" width="574" height="90"/>
<clipView key="contentView" copiesOnScroll="NO" id="7IP-Gn-Bxd">
<rect key="frame" x="1" y="1" width="446" height="134"/>
<autoresizingMask key="autoresizingMask"/>
<rect key="frame" x="1" y="1" width="572" height="88"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<ikImageBrowserView autoresizesSubviews="NO" zoomValue="1" allowsReordering="YES" animates="YES" translatesAutoresizingMaskIntoConstraints="NO" id="217" customClass="ImageBrowserView" customModule="Subler" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="446" height="134"/>
<rect key="frame" x="0.0" y="0.0" width="557" height="88"/>
<autoresizingMask key="contentResizingMask" heightSizable="YES"/>
<size key="cellSize" width="114" height="114"/>
<size key="cellSize" width="68" height="68"/>
<connections>
<outlet property="_dataSource" destination="-2" id="222"/>
<outlet property="_delegate" destination="-2" id="221"/>
@@ -352,7 +352,7 @@
</scroller>
</scrollView>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="223">
<rect key="frame" x="17" y="-39" width="25" height="22"/>
<rect key="frame" x="17" y="249" width="25" height="22"/>
<constraints>
<constraint firstAttribute="width" constant="25" id="PQ5-Tu-VFK"/>
<constraint firstAttribute="height" constant="20" id="nbn-sF-RRs"/>
@@ -366,7 +366,7 @@
</connections>
</button>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="226">
<rect key="frame" x="41" y="-39" width="25" height="22"/>
<rect key="frame" x="41" y="249" width="25" height="22"/>
<constraints>
<constraint firstAttribute="width" constant="25" id="FBv-tK-Tdv"/>
</constraints>
@@ -379,7 +379,7 @@
</connections>
</button>
<slider verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="235">
<rect key="frame" x="349" y="-35" width="117" height="15"/>
<rect key="frame" x="474" y="251" width="119" height="20"/>
<constraints>
<constraint firstAttribute="width" constant="115" id="mBx-7u-wTU"/>
</constraints>
@@ -413,7 +413,7 @@
<constraint firstItem="10" firstAttribute="leading" secondItem="1" secondAttribute="leading" constant="-4" id="W2u-1d-KH8"/>
<constraint firstAttribute="bottom" secondItem="10" secondAttribute="bottom" constant="-2" id="gd6-eJ-5fo"/>
</constraints>
<point key="canvasLocation" x="151" y="4.5"/>
<point key="canvasLocation" x="231.5" y="154.5"/>
</customView>
<userDefaultsController representsSharedInstance="YES" id="z7a-RX-pNz"/>
<window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" visibleAtLaunch="NO" animationBehavior="default" id="ZRj-hi-qeJ" userLabel="Preset Save">