Skip to content

Commit d000481

Browse files
committed
Update Constraints to make more sense
1 parent fd60595 commit d000481

File tree

1 file changed

+36
-33
lines changed

1 file changed

+36
-33
lines changed

src/com/inet/gradle/setup/dmg/preferences/SetupBuilderOSXPrefPane/Base.lproj/SetupBuilderOSXPrefPane.xib

Lines changed: 36 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2-
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="10117" systemVersion="15F34" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
33
<dependencies>
44
<deployment identifier="macosx"/>
5-
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="10117"/>
6-
<capability name="stacking Non-gravity area distributions on NSStackView" minToolsVersion="7.0" minSystemVersion="10.11"/>
5+
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14460.31"/>
6+
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
77
</dependencies>
88
<objects>
99
<customObject id="-2" userLabel="File's Owner" customClass="SetupBuilderOSXPrefPane">
@@ -14,25 +14,25 @@
1414
</customObject>
1515
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
1616
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
17-
<window title="≪ do not localize ≫" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" deferred="NO" oneShot="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" id="F0z-JX-Cv5" userLabel="PrefPane">
17+
<window title="≪ do not localize ≫" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" deferred="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" id="F0z-JX-Cv5" userLabel="PrefPane">
1818
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES"/>
1919
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
20-
<rect key="contentRect" x="176" y="715" width="668" height="224"/>
21-
<rect key="screenRect" x="0.0" y="0.0" width="1920" height="1177"/>
20+
<rect key="contentRect" x="176" y="715" width="668" height="276"/>
21+
<rect key="screenRect" x="0.0" y="0.0" width="2560" height="1417"/>
2222
<view key="contentView" id="se5-gp-TjO">
23-
<rect key="frame" x="0.0" y="-5" width="668" height="224"/>
23+
<rect key="frame" x="0.0" y="0.0" width="668" height="236"/>
2424
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
2525
<subviews>
2626
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="0gj-zc-lV2">
27-
<rect key="frame" x="20" y="76" width="128" height="128"/>
27+
<rect key="frame" x="20" y="88" width="128" height="128"/>
2828
<constraints>
2929
<constraint firstAttribute="width" constant="128" id="6am-gd-Eae"/>
3030
<constraint firstAttribute="height" constant="128" id="qiJ-Jl-S3e"/>
3131
</constraints>
3232
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="ProductIcon.icns" id="vSY-Z7-aCS"/>
3333
</imageView>
3434
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="YSO-gs-n7c">
35-
<rect key="frame" x="166" y="180" width="448" height="24"/>
35+
<rect key="frame" x="166" y="192" width="448" height="24"/>
3636
<constraints>
3737
<constraint firstAttribute="height" constant="24" id="vEe-CW-wdG"/>
3838
</constraints>
@@ -43,15 +43,15 @@
4343
</textFieldCell>
4444
</textField>
4545
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="XQW-yi-ng8">
46-
<rect key="frame" x="632" y="184" width="16" height="16"/>
46+
<rect key="frame" x="632" y="196" width="16" height="16"/>
4747
<constraints>
4848
<constraint firstAttribute="width" constant="16" id="fcj-QC-8AP"/>
4949
<constraint firstAttribute="height" constant="16" id="sqV-BX-1fs"/>
5050
</constraints>
5151
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="gray.png" id="3s2-3a-d3i"/>
5252
</imageView>
5353
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="fSf-Qm-wLU">
54-
<rect key="frame" x="168" y="130" width="482" height="50"/>
54+
<rect key="frame" x="168" y="142" width="482" height="50"/>
5555
<constraints>
5656
<constraint firstAttribute="height" constant="50" id="lGg-6W-2Bk"/>
5757
</constraints>
@@ -62,10 +62,9 @@
6262
</textFieldCell>
6363
</textField>
6464
<button translatesAutoresizingMaskIntoConstraints="NO" id="0pt-T0-CY2" customClass="OnOffSwitchControl">
65-
<rect key="frame" x="32" y="20" width="104" height="36"/>
65+
<rect key="frame" x="40" y="20" width="88" height="35"/>
6666
<constraints>
67-
<constraint firstAttribute="width" constant="104" id="FDR-Cp-8rf"/>
68-
<constraint firstAttribute="height" constant="36" id="lOC-VR-79J"/>
67+
<constraint firstAttribute="height" constant="35" id="lJe-9M-abk"/>
6968
</constraints>
7069
<buttonCell key="cell" type="bevel" title="StartService" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" inset="2" id="9HD-iM-xNj" customClass="OnOffSwitchControlCell">
7170
<behavior key="behavior" lightByBackground="YES" lightByGray="YES" changeBackground="YES" changeGray="YES"/>
@@ -76,22 +75,18 @@
7675
</connections>
7776
</button>
7877
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="nGA-0N-RDv">
79-
<rect key="frame" x="30" y="58" width="108" height="17"/>
80-
<constraints>
81-
<constraint firstAttribute="width" constant="104" id="9bj-Vj-YmZ"/>
82-
<constraint firstAttribute="height" constant="17" id="frP-9J-Ulx"/>
83-
</constraints>
78+
<rect key="frame" x="77" y="63" width="15" height="17"/>
8479
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" title="v" id="Fbd-e7-JIA">
8580
<font key="font" metaFont="system"/>
8681
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
8782
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
8883
</textFieldCell>
8984
</textField>
90-
<stackView distribution="fill" orientation="vertical" alignment="leading" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" fixedFrame="YES" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="qAn-z6-xUT">
91-
<rect key="frame" x="168" y="20" width="352" height="102"/>
85+
<stackView distribution="fill" orientation="vertical" alignment="leading" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="qAn-z6-xUT">
86+
<rect key="frame" x="168" y="20" width="417" height="114"/>
9287
</stackView>
93-
<button verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="QDQ-qs-DvU">
94-
<rect key="frame" x="528" y="28" width="120" height="19"/>
88+
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="QDQ-qs-DvU">
89+
<rect key="frame" x="593" y="28" width="55" height="19"/>
9590
<buttonCell key="cell" type="recessed" title="Button" bezelStyle="recessed" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="EaU-9B-7QM">
9691
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
9792
<font key="font" metaFont="systemBold" size="12"/>
@@ -102,23 +97,31 @@
10297
</button>
10398
</subviews>
10499
<constraints>
100+
<constraint firstAttribute="bottom" secondItem="qAn-z6-xUT" secondAttribute="bottom" constant="20" symbolic="YES" id="14T-5S-C6f"/>
105101
<constraint firstItem="XQW-yi-ng8" firstAttribute="leading" secondItem="YSO-gs-n7c" secondAttribute="trailing" constant="20" id="2au-9i-Q3G"/>
106-
<constraint firstItem="0gj-zc-lV2" firstAttribute="top" secondItem="se5-gp-TjO" secondAttribute="top" constant="20" id="3zs-rv-UiW"/>
107-
<constraint firstAttribute="trailing" secondItem="XQW-yi-ng8" secondAttribute="trailing" constant="20" id="CdZ-zh-ga9"/>
108-
<constraint firstItem="0gj-zc-lV2" firstAttribute="leading" secondItem="se5-gp-TjO" secondAttribute="leading" constant="20" id="GBG-tc-nAO"/>
102+
<constraint firstItem="0gj-zc-lV2" firstAttribute="top" secondItem="se5-gp-TjO" secondAttribute="top" constant="20" symbolic="YES" id="3zs-rv-UiW"/>
103+
<constraint firstItem="XQW-yi-ng8" firstAttribute="centerY" secondItem="YSO-gs-n7c" secondAttribute="centerY" id="4XP-sJ-V5W"/>
104+
<constraint firstItem="0pt-T0-CY2" firstAttribute="trailing" secondItem="0gj-zc-lV2" secondAttribute="trailing" constant="-20" id="Bvh-tY-xLO"/>
105+
<constraint firstAttribute="trailing" secondItem="XQW-yi-ng8" secondAttribute="trailing" constant="20" symbolic="YES" id="CdZ-zh-ga9"/>
106+
<constraint firstItem="0gj-zc-lV2" firstAttribute="leading" secondItem="se5-gp-TjO" secondAttribute="leading" constant="20" symbolic="YES" id="GBG-tc-nAO"/>
107+
<constraint firstItem="nGA-0N-RDv" firstAttribute="centerX" secondItem="0gj-zc-lV2" secondAttribute="centerX" id="JJn-AH-Ybf"/>
109108
<constraint firstItem="fSf-Qm-wLU" firstAttribute="top" secondItem="YSO-gs-n7c" secondAttribute="bottom" id="LYZ-8F-mub"/>
109+
<constraint firstItem="QDQ-qs-DvU" firstAttribute="leading" secondItem="qAn-z6-xUT" secondAttribute="trailing" constant="8" symbolic="YES" id="QIl-ux-pYX"/>
110110
<constraint firstAttribute="trailing" secondItem="fSf-Qm-wLU" secondAttribute="trailing" constant="20" id="RFD-q6-K1W"/>
111-
<constraint firstItem="0pt-T0-CY2" firstAttribute="leading" secondItem="se5-gp-TjO" secondAttribute="leading" constant="32" id="T0R-Wp-s61"/>
112-
<constraint firstItem="0pt-T0-CY2" firstAttribute="top" secondItem="nGA-0N-RDv" secondAttribute="bottom" constant="2" id="UFe-cD-EWk"/>
111+
<constraint firstItem="QDQ-qs-DvU" firstAttribute="centerY" secondItem="0pt-T0-CY2" secondAttribute="centerY" id="RTv-ZN-48q"/>
112+
<constraint firstItem="qAn-z6-xUT" firstAttribute="leading" secondItem="YSO-gs-n7c" secondAttribute="leading" id="Sbv-ZM-tQP"/>
113+
<constraint firstItem="0pt-T0-CY2" firstAttribute="leading" secondItem="0gj-zc-lV2" secondAttribute="leading" constant="20" id="Shy-Ew-GWu"/>
114+
<constraint firstItem="nGA-0N-RDv" firstAttribute="top" secondItem="0gj-zc-lV2" secondAttribute="bottom" constant="8" symbolic="YES" id="VF0-bZ-rxX"/>
115+
<constraint firstItem="0pt-T0-CY2" firstAttribute="top" secondItem="nGA-0N-RDv" secondAttribute="bottom" constant="8" symbolic="YES" id="aI4-Hx-2Fa"/>
113116
<constraint firstItem="YSO-gs-n7c" firstAttribute="leading" secondItem="0gj-zc-lV2" secondAttribute="trailing" constant="20" id="aee-GW-a6H"/>
117+
<constraint firstAttribute="bottom" secondItem="0pt-T0-CY2" secondAttribute="bottom" constant="20" symbolic="YES" id="bK2-S0-52Y"/>
114118
<constraint firstItem="YSO-gs-n7c" firstAttribute="top" secondItem="se5-gp-TjO" secondAttribute="top" constant="20" id="cQp-zt-lb8"/>
115-
<constraint firstItem="nGA-0N-RDv" firstAttribute="leading" secondItem="0pt-T0-CY2" secondAttribute="trailing" constant="-104" id="fQI-yy-hyK"/>
116-
<constraint firstItem="XQW-yi-ng8" firstAttribute="top" secondItem="se5-gp-TjO" secondAttribute="top" constant="24" id="meH-ae-iDp"/>
117119
<constraint firstItem="fSf-Qm-wLU" firstAttribute="leading" secondItem="0gj-zc-lV2" secondAttribute="trailing" constant="22" id="uNK-u7-Fv0"/>
118-
<constraint firstItem="0pt-T0-CY2" firstAttribute="top" secondItem="0gj-zc-lV2" secondAttribute="bottom" constant="20" id="upt-Oq-4Wu"/>
120+
<constraint firstItem="QDQ-qs-DvU" firstAttribute="trailing" secondItem="fSf-Qm-wLU" secondAttribute="trailing" id="y4H-td-l7A"/>
121+
<constraint firstItem="qAn-z6-xUT" firstAttribute="top" secondItem="fSf-Qm-wLU" secondAttribute="bottom" constant="8" symbolic="YES" id="zyx-Vh-t5N"/>
119122
</constraints>
120123
</view>
121-
<point key="canvasLocation" x="491" y="254"/>
124+
<point key="canvasLocation" x="62" y="152"/>
122125
</window>
123126
<customObject id="lHB-bB-yFt" customClass="ServiceController">
124127
<connections>

0 commit comments

Comments
 (0)