diff options
author | Jeroen Leenarts <jeroen.leenarts@gmail.com> | 2018-09-25 20:15:44 +0200 |
---|---|---|
committer | Jeroen Leenarts <jeroen.leenarts@gmail.com> | 2018-09-25 20:15:44 +0200 |
commit | edaeaf732dd29785e7753bdc42f8f984388e70cb (patch) | |
tree | e50f4e0b23d1a006f7d596aa76b22392adae4d89 /WireGuard/Base.lproj/Main.storyboard | |
parent | Settnings icon. (diff) | |
download | wireguard-apple-edaeaf732dd29785e7753bdc42f8f984388e70cb.tar.xz wireguard-apple-edaeaf732dd29785e7753bdc42f8f984388e70cb.zip |
Move copy button a bit up towards title line.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r-- | WireGuard/Base.lproj/Main.storyboard | 169 |
1 files changed, 87 insertions, 82 deletions
diff --git a/WireGuard/Base.lproj/Main.storyboard b/WireGuard/Base.lproj/Main.storyboard index ef3a884..e6528cc 100644 --- a/WireGuard/Base.lproj/Main.storyboard +++ b/WireGuard/Base.lproj/Main.storyboard @@ -181,30 +181,21 @@ <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="wwN-OL-XUr"> <rect key="frame" x="0.0" y="127" width="343" height="49.5"/> <subviews> - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Private key" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fMQ-kK-FD5"> - <rect key="frame" x="0.0" y="0.0" width="343" height="16"/> - <fontDescription key="fontDescription" type="system" pointSize="13"/> - <color key="textColor" red="0.60784313729999995" green="0.60784313729999995" blue="0.60784313729999995" alpha="1" colorSpace="calibratedRGB"/> - <nil key="highlightedColor"/> - </label> <stackView opaque="NO" contentMode="scaleToFill" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="26U-vy-7Lc"> - <rect key="frame" x="0.0" y="16" width="343" height="33.5"/> + <rect key="frame" x="0.0" y="0.0" width="343" height="19.5"/> <subviews> - <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="hYd-0L-nnY"> - <rect key="frame" x="0.0" y="0.0" width="235" height="33.5"/> - <nil key="textColor"/> - <fontDescription key="fontDescription" type="system" pointSize="14"/> - <textInputTraits key="textInputTraits" autocorrectionType="no" spellCheckingType="no" smartDashesType="no" smartInsertDeleteType="no" smartQuotesType="no"/> - <connections> - <action selector="textfieldDidChange:" destination="06N-KU-LSv" eventType="editingChanged" id="CQd-My-M7G"/> - <outlet property="delegate" destination="06N-KU-LSv" id="7YF-mU-HZT"/> - </connections> - </textField> + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Private key" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fMQ-kK-FD5"> + <rect key="frame" x="0.0" y="0.0" width="235" height="19.5"/> + <fontDescription key="fontDescription" type="system" pointSize="13"/> + <color key="textColor" red="0.60784313729999995" green="0.60784313729999995" blue="0.60784313729999995" alpha="1" colorSpace="calibratedRGB"/> + <nil key="highlightedColor"/> + </label> <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="C1M-bh-5mf"> - <rect key="frame" x="243" y="0.0" width="100" height="33.5"/> + <rect key="frame" x="243" y="0.0" width="100" height="19.5"/> <constraints> <constraint firstAttribute="width" constant="100" id="EvB-pb-J1d"/> </constraints> + <fontDescription key="fontDescription" type="system" pointSize="13"/> <state key="normal" title="Generate"/> <connections> <action selector="generateTapped:" destination="06N-KU-LSv" eventType="touchUpInside" id="efE-zK-eCe"/> @@ -212,34 +203,36 @@ </button> </subviews> </stackView> + <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="hYd-0L-nnY"> + <rect key="frame" x="0.0" y="19.5" width="343" height="30"/> + <nil key="textColor"/> + <fontDescription key="fontDescription" type="system" pointSize="14"/> + <textInputTraits key="textInputTraits" autocorrectionType="no" spellCheckingType="no" smartDashesType="no" smartInsertDeleteType="no" smartQuotesType="no"/> + <connections> + <action selector="textfieldDidChange:" destination="06N-KU-LSv" eventType="editingChanged" id="CQd-My-M7G"/> + <outlet property="delegate" destination="06N-KU-LSv" id="7YF-mU-HZT"/> + </connections> + </textField> </subviews> </stackView> <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="wbd-4k-oxV"> <rect key="frame" x="0.0" y="190.5" width="343" height="49"/> <subviews> - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Public key" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="jrM-B3-YSD"> - <rect key="frame" x="0.0" y="0.0" width="343" height="15.5"/> - <fontDescription key="fontDescription" type="system" pointSize="13"/> - <color key="textColor" red="0.60784313729999995" green="0.60784313729999995" blue="0.60784313729999995" alpha="1" colorSpace="calibratedRGB"/> - <nil key="highlightedColor"/> - </label> <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Cuy-Vl-A3X"> - <rect key="frame" x="0.0" y="15.5" width="343" height="33.5"/> + <rect key="frame" x="0.0" y="0.0" width="343" height="15.5"/> <subviews> - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Qks-JK-qzc"> - <rect key="frame" x="0.0" y="0.0" width="243" height="33.5"/> - <constraints> - <constraint firstAttribute="height" constant="33.5" id="YP4-TS-hbj"/> - </constraints> - <fontDescription key="fontDescription" type="system" pointSize="17"/> - <nil key="textColor"/> + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Public key" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="jrM-B3-YSD"> + <rect key="frame" x="0.0" y="0.0" width="243" height="15.5"/> + <fontDescription key="fontDescription" type="system" pointSize="13"/> + <color key="textColor" red="0.60784313729999995" green="0.60784313729999995" blue="0.60784313729999995" alpha="1" colorSpace="calibratedRGB"/> <nil key="highlightedColor"/> </label> <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Oxw-Sl-4if"> - <rect key="frame" x="243" y="0.0" width="100" height="33.5"/> + <rect key="frame" x="243" y="0.0" width="100" height="15.5"/> <constraints> <constraint firstAttribute="width" constant="100" id="cMG-GD-Qad"/> </constraints> + <fontDescription key="fontDescription" type="system" pointSize="13"/> <state key="normal" title="Copy"/> <connections> <action selector="copyPublicKey:" destination="06N-KU-LSv" eventType="touchUpInside" id="bkX-yC-E6w"/> @@ -247,6 +240,15 @@ </button> </subviews> </stackView> + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Qks-JK-qzc"> + <rect key="frame" x="0.0" y="15.5" width="343" height="33.5"/> + <constraints> + <constraint firstAttribute="height" constant="33.5" id="YP4-TS-hbj"/> + </constraints> + <fontDescription key="fontDescription" type="system" pointSize="17"/> + <nil key="textColor"/> + <nil key="highlightedColor"/> + </label> </subviews> </stackView> <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="nv7-4q-QjM"> @@ -421,30 +423,21 @@ <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="zcF-NC-5kf"> <rect key="frame" x="0.0" y="60" width="343" height="46"/> <subviews> - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Public key" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="s9R-Af-RNn"> - <rect key="frame" x="0.0" y="0.0" width="343" height="16"/> - <fontDescription key="fontDescription" type="system" pointSize="13"/> - <color key="textColor" red="0.60784313729999995" green="0.60784313729999995" blue="0.60784313729999995" alpha="1" colorSpace="calibratedRGB"/> - <nil key="highlightedColor"/> - </label> <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="sN7-yp-U0M"> - <rect key="frame" x="0.0" y="16" width="343" height="30"/> + <rect key="frame" x="0.0" y="0.0" width="343" height="16"/> <subviews> - <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="RLw-0o-akQ"> - <rect key="frame" x="0.0" y="0.0" width="243" height="30"/> - <nil key="textColor"/> - <fontDescription key="fontDescription" type="system" pointSize="14"/> - <textInputTraits key="textInputTraits" autocorrectionType="no" spellCheckingType="no" smartDashesType="no" smartInsertDeleteType="no" smartQuotesType="no"/> - <connections> - <action selector="textfieldDidChange:" destination="gzz-88-0IG" eventType="editingChanged" id="taX-Ji-pVu"/> - <outlet property="delegate" destination="gzz-88-0IG" id="bkQ-Nc-VH4"/> - </connections> - </textField> + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Public key" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="s9R-Af-RNn"> + <rect key="frame" x="0.0" y="0.0" width="243" height="16"/> + <fontDescription key="fontDescription" type="system" pointSize="13"/> + <color key="textColor" red="0.60784313729999995" green="0.60784313729999995" blue="0.60784313729999995" alpha="1" colorSpace="calibratedRGB"/> + <nil key="highlightedColor"/> + </label> <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="k1n-bm-do3"> - <rect key="frame" x="243" y="0.0" width="100" height="30"/> + <rect key="frame" x="243" y="0.0" width="100" height="16"/> <constraints> <constraint firstAttribute="width" constant="100" id="qqO-dK-9SJ"/> </constraints> + <fontDescription key="fontDescription" type="system" pointSize="13"/> <state key="normal" title="Copy"/> <connections> <action selector="copyPublicKey:" destination="gzz-88-0IG" eventType="touchUpInside" id="ozU-nW-UXP"/> @@ -452,6 +445,16 @@ </button> </subviews> </stackView> + <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="RLw-0o-akQ"> + <rect key="frame" x="0.0" y="16" width="343" height="30"/> + <nil key="textColor"/> + <fontDescription key="fontDescription" type="system" pointSize="14"/> + <textInputTraits key="textInputTraits" autocorrectionType="no" spellCheckingType="no" smartDashesType="no" smartInsertDeleteType="no" smartQuotesType="no"/> + <connections> + <action selector="textfieldDidChange:" destination="gzz-88-0IG" eventType="editingChanged" id="taX-Ji-pVu"/> + <outlet property="delegate" destination="gzz-88-0IG" id="bkQ-Nc-VH4"/> + </connections> + </textField> </subviews> </stackView> <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="miX-4O-NOP"> @@ -642,30 +645,21 @@ <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="Ao6-49-xJm"> <rect key="frame" x="0.0" y="130" width="343" height="51"/> <subviews> - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Public key" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vWC-ql-O8v"> - <rect key="frame" x="0.0" y="0.0" width="343" height="17.5"/> - <fontDescription key="fontDescription" type="system" pointSize="13"/> - <color key="textColor" red="0.60784313729999995" green="0.60784313729999995" blue="0.60784313729999995" alpha="1" colorSpace="calibratedRGB"/> - <nil key="highlightedColor"/> - </label> <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="5W3-mw-rz8"> - <rect key="frame" x="0.0" y="17.5" width="343" height="33.5"/> + <rect key="frame" x="0.0" y="0.0" width="343" height="17.5"/> <subviews> - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bCm-fp-MGf"> - <rect key="frame" x="0.0" y="0.0" width="243" height="33.5"/> - <gestureRecognizers/> - <constraints> - <constraint firstAttribute="height" constant="33.5" id="tj9-5o-wt9"/> - </constraints> - <fontDescription key="fontDescription" type="system" pointSize="17"/> - <nil key="textColor"/> + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Public key" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vWC-ql-O8v"> + <rect key="frame" x="0.0" y="0.0" width="243" height="17.5"/> + <fontDescription key="fontDescription" type="system" pointSize="13"/> + <color key="textColor" red="0.60784313729999995" green="0.60784313729999995" blue="0.60784313729999995" alpha="1" colorSpace="calibratedRGB"/> <nil key="highlightedColor"/> </label> <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="QuI-0b-Odb"> - <rect key="frame" x="243" y="0.0" width="100" height="33.5"/> + <rect key="frame" x="243" y="0.0" width="100" height="17.5"/> <constraints> <constraint firstAttribute="width" constant="100" id="Cwg-HP-HvQ"/> </constraints> + <fontDescription key="fontDescription" type="system" pointSize="13"/> <state key="normal" title="Copy"/> <connections> <action selector="copyPublicKey:" destination="4nk-ch-nYS" eventType="touchUpInside" id="4i8-TJ-9Ix"/> @@ -673,6 +667,16 @@ </button> </subviews> </stackView> + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bCm-fp-MGf"> + <rect key="frame" x="0.0" y="17.5" width="343" height="33.5"/> + <gestureRecognizers/> + <constraints> + <constraint firstAttribute="height" constant="33.5" id="tj9-5o-wt9"/> + </constraints> + <fontDescription key="fontDescription" type="system" pointSize="17"/> + <nil key="textColor"/> + <nil key="highlightedColor"/> + </label> </subviews> </stackView> <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="bu6-xb-eu0"> @@ -730,29 +734,21 @@ <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="1NC-ix-aSU"> <rect key="frame" x="0.0" y="65" width="343" height="51"/> <subviews> - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Public key" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="quD-G5-mlN"> - <rect key="frame" x="0.0" y="0.0" width="343" height="17.5"/> - <fontDescription key="fontDescription" type="system" pointSize="13"/> - <color key="textColor" red="0.60784313729999995" green="0.60784313729999995" blue="0.60784313729999995" alpha="1" colorSpace="calibratedRGB"/> - <nil key="highlightedColor"/> - </label> <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="7mv-Bm-kLf"> - <rect key="frame" x="0.0" y="17.5" width="343" height="33.5"/> + <rect key="frame" x="0.0" y="0.0" width="343" height="17.5"/> <subviews> - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QB9-fz-eN5"> - <rect key="frame" x="0.0" y="0.0" width="243" height="33.5"/> - <constraints> - <constraint firstAttribute="height" constant="33.5" id="T62-rA-BQP"/> - </constraints> - <fontDescription key="fontDescription" type="system" pointSize="17"/> - <nil key="textColor"/> + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Public key" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="quD-G5-mlN"> + <rect key="frame" x="0.0" y="0.0" width="243" height="17.5"/> + <fontDescription key="fontDescription" type="system" pointSize="13"/> + <color key="textColor" red="0.60784313729999995" green="0.60784313729999995" blue="0.60784313729999995" alpha="1" colorSpace="calibratedRGB"/> <nil key="highlightedColor"/> </label> <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="pfR-7r-TKm"> - <rect key="frame" x="243" y="0.0" width="100" height="33.5"/> + <rect key="frame" x="243" y="0.0" width="100" height="17.5"/> <constraints> <constraint firstAttribute="width" constant="100" id="fQD-S2-KoL"/> </constraints> + <fontDescription key="fontDescription" type="system" pointSize="13"/> <state key="normal" title="Copy"/> <connections> <action selector="copyPublicKey:" destination="E8O-dS-GmI" eventType="touchUpInside" id="fe2-gy-StL"/> @@ -760,6 +756,15 @@ </button> </subviews> </stackView> + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QB9-fz-eN5"> + <rect key="frame" x="0.0" y="17.5" width="343" height="33.5"/> + <constraints> + <constraint firstAttribute="height" constant="33.5" id="T62-rA-BQP"/> + </constraints> + <fontDescription key="fontDescription" type="system" pointSize="17"/> + <nil key="textColor"/> + <nil key="highlightedColor"/> + </label> </subviews> </stackView> <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="1v9-H0-PWt"> |