Fix an autolayout warning.

This commit is contained in:
Damiano Galassi committed 2019-02-05 10:12:14 +01:00
1 parent 0563acf727
commit ff8e910b71
2 files changed
+9 -7

No files matched your search

+8 -6
View File
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="14105" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="14490.59" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14105"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14490.59"/>
<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="388" height="100"/>
<rect key="frame" x="0.0" y="0.0" width="526" height="100"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<subviews>
<customView verticalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="4Ry-tR-0w3">
<rect key="frame" x="24" y="0.0" width="340" height="100"/>
<rect key="frame" x="93" y="0.0" width="340" height="100"/>
<subviews>
<button toolTip="Needed for mp4 larger than 4GB." translatesAutoresizingMaskIntoConstraints="NO" id="emp-1S-F7H">
<rect key="frame" x="98" y="46" width="144" height="18"/>
@@ -40,7 +40,7 @@
</textFieldCell>
</textField>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="kLA-Cm-c6R">
<rect key="frame" x="98" y="66" width="225" height="26"/>
<rect key="frame" x="98" y="67" width="225" height="25"/>
<constraints>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="220" id="nSc-Ly-xDh"/>
</constraints>
@@ -117,9 +117,11 @@ Enable 64bit timescale and duration support. Normally, it's only needed if a tra
<constraints>
<constraint firstItem="4Ry-tR-0w3" firstAttribute="top" secondItem="MW8-8K-w1S" secondAttribute="top" id="MMR-FR-hu8"/>
<constraint firstItem="4Ry-tR-0w3" firstAttribute="centerX" secondItem="MW8-8K-w1S" secondAttribute="centerX" id="ixL-3p-fAK"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="4Ry-tR-0w3" secondAttribute="trailing" id="jMn-Zo-vu7"/>
<constraint firstAttribute="bottom" secondItem="4Ry-tR-0w3" secondAttribute="bottom" id="og4-yI-jBc"/>
<constraint firstItem="4Ry-tR-0w3" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="MW8-8K-w1S" secondAttribute="leading" id="tWl-6i-KAx"/>
</constraints>
<point key="canvasLocation" x="-19" y="-54.5"/>
<point key="canvasLocation" x="49.5" y="-55"/>
</customView>
</objects>
</document>
+1 -1
View File
@@ -61,7 +61,7 @@ class SaveOptions: NSViewController {
_64bit_time.state = UserDefaults.standard.bool(forKey: "mp464bitTimes") ? .on : .off
optimize.state = UserDefaults.standard.bool(forKey: "mp4SaveAsOptimize") ? .on : .off
if doc.mp4.dataSize > 4000000000 {
if doc.mp4.dataSize > 3900000000 {
_64bit_data.state = .on
}
}