|
8 | 8 | <objects> |
9 | 9 | <customObject id="-2" userLabel="File's Owner" customClass="STPreferencesGeneralViewController"> |
10 | 10 | <connections> |
| 11 | + <outlet property="ProxyURL" destination="X8z-m3-H7F" id="Fn0-3o-LfW"/> |
11 | 12 | <outlet property="StartAtLogin" destination="tYl-sb-Hga" id="nUj-DN-esv"/> |
12 | 13 | <outlet property="Syncthing_ApiKey" destination="B0w-Uv-22O" id="DX5-97-308"/> |
13 | 14 | <outlet property="Syncthing_URI" destination="kCf-gA-qTB" id="s6U-1e-YmN"/> |
| 15 | + <outlet property="UseProxy" destination="99B-Dd-LdB" id="2Eu-HJ-Wx6"/> |
14 | 16 | <outlet property="buttonTest" destination="Fvn-Oe-6fA" id="gsg-wG-y69"/> |
15 | 17 | <outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/> |
16 | 18 | </connections> |
17 | 19 | </customObject> |
18 | 20 | <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/> |
19 | 21 | <customObject id="-3" userLabel="Application" customClass="NSObject"/> |
20 | 22 | <customView translatesAutoresizingMaskIntoConstraints="NO" id="Hz6-mo-xeY"> |
21 | | - <rect key="frame" x="0.0" y="0.0" width="457" height="190"/> |
| 23 | + <rect key="frame" x="0.0" y="0.0" width="457" height="248"/> |
22 | 24 | <subviews> |
23 | 25 | <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="SPp-6x-JiZ"> |
24 | 26 | <rect key="frame" x="18" y="121" width="49" height="16"/> |
|
59 | 61 | </connections> |
60 | 62 | </textField> |
61 | 63 | <button translatesAutoresizingMaskIntoConstraints="NO" id="tYl-sb-Hga"> |
62 | | - <rect key="frame" x="71" y="81" width="104" height="18"/> |
| 64 | + <rect key="frame" x="71" y="139" width="104" height="18"/> |
63 | 65 | <buttonCell key="cell" type="check" title="Start at login" bezelStyle="regularSquare" imagePosition="left" inset="2" id="bnF-et-LAz"> |
64 | 66 | <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/> |
65 | 67 | <font key="font" metaFont="system"/> |
|
70 | 72 | </connections> |
71 | 73 | </button> |
72 | 74 | <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Fvn-Oe-6fA"> |
73 | | - <rect key="frame" x="366" y="83" width="78" height="32"/> |
| 75 | + <rect key="frame" x="366" y="141" width="78" height="32"/> |
74 | 76 | <buttonCell key="cell" type="push" title="Test" bezelStyle="rounded" image="NSStatusNone" imagePosition="left" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="DIH-Pb-tr4"> |
75 | 77 | <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> |
76 | 78 | <font key="font" metaFont="system"/> |
|
79 | 81 | <action selector="clickedTest:" target="-2" id="3Ta-ci-ddQ"/> |
80 | 82 | </connections> |
81 | 83 | </button> |
| 84 | + <button translatesAutoresizingMaskIntoConstraints="NO" id="99B-Dd-LdB"> |
| 85 | + <rect key="frame" x="71" y="113" width="144" height="18"/> |
| 86 | + <buttonCell key="cell" type="check" title="Use proxy for Syncthing" bezelStyle="regularSquare" imagePosition="left" inset="2" id="Og8-oM-kqL"> |
| 87 | + <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/> |
| 88 | + <font key="font" metaFont="system"/> |
| 89 | + </buttonCell> |
| 90 | + <connections> |
| 91 | + <action selector="clickedUseProxy:" target="-2" id="Yrw-RK-eCY"/> |
| 92 | + <binding destination="43V-m6-OJJ" name="value" keyPath="values.UseProxy" id="NJQ-H5-yr9"/> |
| 93 | + </connections> |
| 94 | + </button> |
| 95 | + <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="H6M-Xv-GvS"> |
| 96 | + <rect key="frame" x="20" y="85" width="47" height="16"/> |
| 97 | + <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Proxy" id="zcy-s6-PPy"> |
| 98 | + <font key="font" metaFont="system"/> |
| 99 | + <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/> |
| 100 | + <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> |
| 101 | + </textFieldCell> |
| 102 | + </textField> |
| 103 | + <textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="X8z-m3-H7F"> |
| 104 | + <rect key="frame" x="73" y="82" width="364" height="21"/> |
| 105 | + <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" placeholderString="socks5://127.0.0.1:7890" drawsBackground="YES" id="uUl-r5-Ao4"> |
| 106 | + <font key="font" metaFont="system"/> |
| 107 | + <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> |
| 108 | + <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/> |
| 109 | + </textFieldCell> |
| 110 | + <connections> |
| 111 | + <action selector="proxyUrlChanged:" target="-2" id="f2o-6n-2QY"/> |
| 112 | + <binding destination="43V-m6-OJJ" name="value" keyPath="values.ProxyURL" id="hoV-Fb-8mh"/> |
| 113 | + </connections> |
| 114 | + </textField> |
| 115 | + <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="N0T-mL-rWn"> |
| 116 | + <rect key="frame" x="73" y="56" width="364" height="17"/> |
| 117 | + <textFieldCell key="cell" lineBreakMode="byWordWrapping" sendsActionOnEndEditing="YES" title="Supports socks5://, http:// and https://. Changes restart the Syncthing daemon automatically." id="5k2-60-Pg8"> |
| 118 | + <font key="font" metaFont="smallSystem"/> |
| 119 | + <color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/> |
| 120 | + <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> |
| 121 | + </textFieldCell> |
| 122 | + </textField> |
82 | 123 | <button translatesAutoresizingMaskIntoConstraints="NO" id="aC0-rw-4G1"> |
83 | | - <rect key="frame" x="71" y="59" width="134" height="18"/> |
| 124 | + <rect key="frame" x="71" y="117" width="134" height="18"/> |
84 | 125 | <buttonCell key="cell" type="check" title="Show in menu bar" bezelStyle="regularSquare" imagePosition="left" inset="2" id="nB8-OA-X1F"> |
85 | 126 | <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/> |
86 | 127 | <font key="font" metaFont="system"/> |
|
124 | 165 | <constraint firstAttribute="trailing" secondItem="kCf-gA-qTB" secondAttribute="trailing" constant="20" symbolic="YES" id="0u5-rc-aQ9"/> |
125 | 166 | <constraint firstItem="NQY-Se-yQr" firstAttribute="leading" secondItem="kCf-gA-qTB" secondAttribute="leading" id="1uy-lv-1dN"/> |
126 | 167 | <constraint firstItem="kCf-gA-qTB" firstAttribute="leading" secondItem="bgQ-af-R3Y" secondAttribute="trailing" constant="8" symbolic="YES" id="2tE-WJ-egs"/> |
127 | | - <constraint firstItem="tYl-sb-Hga" firstAttribute="top" secondItem="B0w-Uv-22O" secondAttribute="bottom" constant="20" id="8LG-LF-xbD"/> |
| 168 | + <constraint firstItem="99B-Dd-LdB" firstAttribute="leading" secondItem="kCf-gA-qTB" secondAttribute="leading" id="4Q7-8J-RWk"/> |
| 169 | + <constraint firstItem="99B-Dd-LdB" firstAttribute="top" secondItem="B0w-Uv-22O" secondAttribute="bottom" constant="20" id="4on-E6-7Oy"/> |
| 170 | + <constraint firstItem="H6M-Xv-GvS" firstAttribute="firstBaseline" secondItem="X8z-m3-H7F" secondAttribute="firstBaseline" id="53V-DK-e5P"/> |
| 171 | + <constraint firstItem="H6M-Xv-GvS" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="20" symbolic="YES" id="5v0-fM-wTn"/> |
128 | 172 | <constraint firstAttribute="bottom" secondItem="NQY-Se-yQr" secondAttribute="bottom" constant="20" symbolic="YES" id="8n7-1W-VIF"/> |
129 | 173 | <constraint firstAttribute="trailing" secondItem="9Rm-9W-VFZ" secondAttribute="trailing" constant="20" symbolic="YES" id="9SU-ES-8zG"/> |
130 | 174 | <constraint firstItem="B0w-Uv-22O" firstAttribute="leading" secondItem="kCf-gA-qTB" secondAttribute="leading" id="BBg-3A-5eJ"/> |
|
134 | 178 | <constraint firstItem="aC0-rw-4G1" firstAttribute="top" secondItem="tYl-sb-Hga" secondAttribute="bottom" constant="6" symbolic="YES" id="a2P-vl-xd1"/> |
135 | 179 | <constraint firstItem="NQY-Se-yQr" firstAttribute="top" secondItem="aC0-rw-4G1" secondAttribute="bottom" constant="20" id="aF5-fX-MiH"/> |
136 | 180 | <constraint firstItem="B0w-Uv-22O" firstAttribute="leading" secondItem="SPp-6x-JiZ" secondAttribute="trailing" constant="8" symbolic="YES" id="aks-Gy-fGL"/> |
137 | | - <constraint firstItem="Fvn-Oe-6fA" firstAttribute="top" secondItem="B0w-Uv-22O" secondAttribute="bottom" constant="8" symbolic="YES" id="gjY-QU-9q1"/> |
| 181 | + <constraint firstItem="Fvn-Oe-6fA" firstAttribute="centerY" secondItem="tYl-sb-Hga" secondAttribute="centerY" id="gjY-QU-9q1"/> |
| 182 | + <constraint firstItem="X8z-m3-H7F" firstAttribute="leading" secondItem="H6M-Xv-GvS" secondAttribute="trailing" constant="8" symbolic="YES" id="gmb-yu-7Vu"/> |
| 183 | + <constraint firstAttribute="trailing" secondItem="X8z-m3-H7F" secondAttribute="trailing" constant="20" symbolic="YES" id="iK5-hP-XbW"/> |
| 184 | + <constraint firstItem="X8z-m3-H7F" firstAttribute="top" secondItem="99B-Dd-LdB" secondAttribute="bottom" constant="10" symbolic="YES" id="jY3-0n-8aP"/> |
138 | 185 | <constraint firstAttribute="trailing" secondItem="B0w-Uv-22O" secondAttribute="trailing" constant="20" symbolic="YES" id="lWZ-ef-Ed2"/> |
139 | 186 | <constraint firstItem="B0w-Uv-22O" firstAttribute="top" secondItem="kCf-gA-qTB" secondAttribute="bottom" constant="10" symbolic="YES" id="mg0-kD-bnu"/> |
| 187 | + <constraint firstItem="N0T-mL-rWn" firstAttribute="leading" secondItem="kCf-gA-qTB" secondAttribute="leading" id="nfs-eY-QdR"/> |
| 188 | + <constraint firstAttribute="trailing" secondItem="N0T-mL-rWn" secondAttribute="trailing" constant="20" symbolic="YES" id="uZa-6N-IxU"/> |
| 189 | + <constraint firstItem="N0T-mL-rWn" firstAttribute="top" secondItem="X8z-m3-H7F" secondAttribute="bottom" constant="8" symbolic="YES" id="upT-DS-vcQ"/> |
140 | 190 | <constraint firstItem="bgQ-af-R3Y" firstAttribute="firstBaseline" secondItem="kCf-gA-qTB" secondAttribute="firstBaseline" id="r3e-1n-EcE"/> |
141 | 191 | <constraint firstItem="tYl-sb-Hga" firstAttribute="leading" secondItem="kCf-gA-qTB" secondAttribute="leading" id="tVU-d6-WRW"/> |
| 192 | + <constraint firstItem="tYl-sb-Hga" firstAttribute="top" secondItem="N0T-mL-rWn" secondAttribute="bottom" constant="12" id="uMJ-HV-WQG"/> |
142 | 193 | <constraint firstItem="9Rm-9W-VFZ" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="NQY-Se-yQr" secondAttribute="trailing" constant="7" id="ucj-yE-cmL"/> |
143 | 194 | <constraint firstItem="SPp-6x-JiZ" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="20" symbolic="YES" id="udY-T2-UbN"/> |
144 | 195 | <constraint firstItem="kCf-gA-qTB" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" constant="20" symbolic="YES" id="xAJ-NF-i59"/> |
|
0 commit comments