Improve layouts.

This commit is contained in:
Damiano Galassi committed 2020-10-26 09:54:07 +01:00
1 parent 6036d3c814
commit e94249cffd
2 files changed
+39 -37

No files matched your search

+7 -5
View File
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="17503.1" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="17506" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="17503.1"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="17506"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
@@ -18,11 +18,11 @@
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
<customView id="MW8-8K-w1S">
<rect key="frame" x="0.0" y="0.0" width="321" height="107"/>
<rect key="frame" x="0.0" y="0.0" width="346" height="107"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<subviews>
<customView verticalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="4Ry-tR-0w3">
<rect key="frame" x="1" y="0.0" width="320" height="107"/>
<rect key="frame" x="13" y="0.0" width="320" height="107"/>
<subviews>
<button toolTip="Needed for mp4 larger than 4GB." verticalCompressionResistancePriority="751" translatesAutoresizingMaskIntoConstraints="NO" id="emp-1S-F7H">
<rect key="frame" x="98" y="54" width="148" height="18"/>
@@ -114,11 +114,13 @@ Enable 64bit timescale and duration support. Normally, it's only needed if a tra
</customView>
</subviews>
<constraints>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="4Ry-tR-0w3" secondAttribute="trailing" id="2j2-LL-JyG"/>
<constraint firstItem="4Ry-tR-0w3" firstAttribute="top" secondItem="MW8-8K-w1S" secondAttribute="top" id="QNo-o1-YrB"/>
<constraint firstItem="4Ry-tR-0w3" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="MW8-8K-w1S" secondAttribute="leading" id="o9z-Up-Eb1"/>
<constraint firstItem="4Ry-tR-0w3" firstAttribute="centerX" secondItem="MW8-8K-w1S" secondAttribute="centerX" id="pJc-tf-bbO"/>
<constraint firstAttribute="bottom" secondItem="4Ry-tR-0w3" secondAttribute="bottom" id="xRp-PB-HQl"/>
</constraints>
<point key="canvasLocation" x="-503.5" y="-8.5"/>
<point key="canvasLocation" x="-491.5" y="-8.5"/>
</customView>
</objects>
</document>
+32 -32
View File
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="17140" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="17506" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="17140"/>
<plugIn identifier="com.apple.imagekit.ibplugin" version="17140"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="17506"/>
<plugIn identifier="com.apple.imagekit.ibplugin" version="17506"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
@@ -26,15 +26,15 @@
<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="480" height="186"/>
<rect key="frame" x="0.0" y="0.0" width="606" height="163"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<subviews>
<tabView controlSize="small" translatesAutoresizingMaskIntoConstraints="NO" id="10">
<rect key="frame" x="-11" y="-12" width="502" height="170"/>
<rect key="frame" x="-11" y="-12" width="628" height="170"/>
<tabViewItems>
<tabViewItem label="Metadata" identifier="1" id="11">
<view key="view" id="12">
<rect key="frame" x="10" y="25" width="482" height="132"/>
<rect key="frame" x="10" y="25" width="608" height="132"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<popUpButton toolTip="Add a new metadata item" translatesAutoresizingMaskIntoConstraints="NO" id="30">
@@ -91,13 +91,13 @@
<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="448" height="90"/>
<rect key="frame" x="17" y="36" width="574" height="90"/>
<clipView key="contentView" id="cQT-bX-0YB">
<rect key="frame" x="1" y="1" width="446" height="88"/>
<rect key="frame" x="1" y="1" width="572" height="88"/>
<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="446" height="88"/>
<rect key="frame" x="0.0" y="0.0" width="572" height="88"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<size key="intercellSpacing" width="3" height="2"/>
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
@@ -117,11 +117,11 @@
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
<prototypeCellViews>
<tableCellView identifier="NameTextCell" id="kcX-eB-nsR">
<rect key="frame" x="1" y="1" width="118" height="14"/>
<rect key="frame" x="1" y="1" width="123" height="14"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="3000" translatesAutoresizingMaskIntoConstraints="NO" id="hcf-2a-yEU">
<rect key="frame" x="0.0" y="0.0" width="118" height="14"/>
<rect key="frame" x="0.0" y="0.0" width="123" height="14"/>
<textFieldCell key="cell" controlSize="small" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" alignment="right" title="Do not localize" id="uNy-4D-PA4">
<font key="font" metaFont="smallSystemBold"/>
<color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/>
@@ -141,7 +141,7 @@
</tableCellView>
</prototypeCellViews>
</tableColumn>
<tableColumn identifier="value" width="322" minWidth="40" maxWidth="4000" id="os0-Yb-exW">
<tableColumn identifier="value" width="439" 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="122" y="1" width="322" height="14"/>
<rect key="frame" x="127" y="1" width="443" 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="322" height="14"/>
<rect key="frame" x="0.0" y="0.0" width="443" 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="122" y="17" width="322" height="14"/>
<rect key="frame" x="127" y="17" width="443" 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="322" height="14"/>
<rect key="frame" x="0.0" y="0.0" width="443" 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="122" y="33" width="322" height="14"/>
<rect key="frame" x="127" y="33" width="443" 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="316" height="18"/>
<rect key="frame" x="0.0" y="-2" width="437" 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="122" y="49" width="322" height="17"/>
<rect key="frame" x="127" y="49" width="443" 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="321" height="20"/>
<rect key="frame" x="0.0" y="-1" width="442" 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="122" y="68" width="322" height="19"/>
<rect key="frame" x="127" y="68" width="443" 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="319" height="19"/>
<rect key="frame" x="3" y="0.0" width="440" 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"/>
@@ -280,7 +280,7 @@
</subviews>
</clipView>
<scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="tkU-nC-Bdd">
<rect key="frame" x="1" y="186" width="446" height="16"/>
<rect key="frame" x="1" y="74" width="446" height="15"/>
<autoresizingMask key="autoresizingMask"/>
</scroller>
<scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="NO" id="B65-gn-id0">
@@ -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="446" height="23"/>
<rect key="frame" x="0.0" y="0.0" width="572" height="23"/>
<autoresizingMask key="autoresizingMask"/>
</tableHeaderView>
</scrollView>
@@ -312,11 +312,11 @@
</tabViewItem>
<tabViewItem label="Artwork" identifier="Item 1" id="15">
<view key="view" id="16">
<rect key="frame" x="10" y="25" width="482" height="178"/>
<rect key="frame" x="10" y="25" width="608" height="132"/>
<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="36" width="448" height="136"/>
<rect key="frame" x="17" y="-10" width="448" height="136"/>
<clipView key="contentView" copiesOnScroll="NO" id="7IP-Gn-Bxd">
<rect key="frame" x="1" y="1" width="446" height="134"/>
<autoresizingMask key="autoresizingMask"/>
@@ -352,7 +352,7 @@
</scroller>
</scrollView>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="223">
<rect key="frame" x="17" y="7" width="25" height="22"/>
<rect key="frame" x="17" y="-39" 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="7" width="25" height="22"/>
<rect key="frame" x="41" y="-39" 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="11" width="117" height="15"/>
<rect key="frame" x="349" y="-35" width="117" height="15"/>
<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="49" y="5.5"/>
<point key="canvasLocation" x="151" y="4.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">
@@ -442,7 +442,7 @@
</textFieldCell>
</textField>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="1pQ-kd-mLU">
<rect key="frame" x="335" y="13" width="88" height="32"/>
<rect key="frame" x="347" y="13" width="76" height="32"/>
<buttonCell key="cell" type="push" title="Save" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="4p7-7v-cUB">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
@@ -455,7 +455,7 @@ DQ
</connections>
</button>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="b0L-7j-mGd">
<rect key="frame" x="249" y="13" width="88" height="32"/>
<rect key="frame" x="273" y="13" width="76" height="32"/>
<buttonCell key="cell" type="push" title="Cancel" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="sNX-Z3-AtD">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>