Skip to content

Commit 6105973

Browse files
committed
Constraints readded
1 parent 9811c59 commit 6105973

File tree

1 file changed

+31
-27
lines changed

1 file changed

+31
-27
lines changed

IGCMenuSwiftExample/Base.lproj/Main.storyboard

Lines changed: 31 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11762" systemVersion="15G1212" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
3-
<device id="retina4_7" orientation="portrait">
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11542" systemVersion="16B2657" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
3+
<device id="retina4_0" orientation="portrait">
44
<adaptation id="fullscreen"/>
55
</device>
66
<dependencies>
77
<deployment identifier="iOS"/>
8-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
8+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11524"/>
99
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
1010
</dependencies>
1111
<scenes>
@@ -18,15 +18,14 @@
1818
<viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
1919
</layoutGuides>
2020
<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
21-
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
21+
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
2222
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
2323
<subviews>
2424
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="pZ3-ue-1uZ">
25-
<rect key="frame" x="162" y="597" width="50" height="50"/>
25+
<rect key="frame" x="134.5" y="498" width="50" height="50"/>
2626
<color key="backgroundColor" red="0.0" green="0.47843137250000001" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
2727
<constraints>
28-
<constraint firstAttribute="width" constant="50" id="HcL-UJ-u8W"/>
29-
<constraint firstAttribute="height" constant="50" id="mnA-1P-jKk"/>
28+
<constraint firstAttribute="height" constant="50" id="3Od-KP-dZe"/>
3029
</constraints>
3130
<state key="normal" image="plus.png">
3231
<color key="titleShadowColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/>
@@ -36,21 +35,25 @@
3635
</connections>
3736
</button>
3837
<switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="WEl-vh-Ufd">
39-
<rect key="frame" x="163" y="278" width="51" height="31"/>
38+
<rect key="frame" x="135.5" y="245" width="51" height="31"/>
39+
<constraints>
40+
<constraint firstAttribute="height" constant="31" id="5S9-Ah-le3"/>
41+
<constraint firstAttribute="width" constant="49" id="Les-pK-F2x"/>
42+
</constraints>
4043
</switch>
41-
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Circular Menu" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="qge-my-26w">
42-
<rect key="frame" x="16" y="278" width="131" height="31"/>
44+
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Circular Menu" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="qge-my-26w">
45+
<rect key="frame" x="12" y="245" width="103.5" height="31"/>
4346
<constraints>
44-
<constraint firstAttribute="height" constant="31" id="a5r-Nd-Rd8"/>
47+
<constraint firstAttribute="height" constant="31" id="SAF-4V-66b"/>
4548
</constraints>
46-
<fontDescription key="fontDescription" type="system" pointSize="18"/>
49+
<fontDescription key="fontDescription" type="system" pointSize="17"/>
4750
<nil key="textColor"/>
4851
<nil key="highlightedColor"/>
4952
</label>
50-
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Grid Menu" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gKN-wm-C5c">
51-
<rect key="frame" x="228" y="278" width="131" height="31"/>
53+
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Grid Menu" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="gKN-wm-C5c">
54+
<rect key="frame" x="210.5" y="245" width="74.5" height="31"/>
5255
<constraints>
53-
<constraint firstAttribute="height" constant="31" id="pM7-j3-mzo"/>
56+
<constraint firstAttribute="height" constant="31" id="Ott-zq-dfi"/>
5457
</constraints>
5558
<fontDescription key="fontDescription" type="system" pointSize="18"/>
5659
<nil key="textColor"/>
@@ -59,16 +62,17 @@
5962
</subviews>
6063
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
6164
<constraints>
62-
<constraint firstItem="qge-my-26w" firstAttribute="top" secondItem="WEl-vh-Ufd" secondAttribute="top" id="5aN-6q-mmY"/>
63-
<constraint firstItem="WEl-vh-Ufd" firstAttribute="centerY" secondItem="8bC-Xf-vdC" secondAttribute="centerY" constant="-40" id="7qQ-yc-BvF"/>
64-
<constraint firstItem="gKN-wm-C5c" firstAttribute="leading" secondItem="WEl-vh-Ufd" secondAttribute="trailing" constant="16" id="B5v-ms-Ngo"/>
65-
<constraint firstItem="pZ3-ue-1uZ" firstAttribute="centerX" secondItem="8bC-Xf-vdC" secondAttribute="centerX" id="DKO-5X-xis"/>
66-
<constraint firstItem="WEl-vh-Ufd" firstAttribute="centerX" secondItem="8bC-Xf-vdC" secondAttribute="centerX" id="ORP-oD-Siw"/>
67-
<constraint firstItem="qge-my-26w" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leading" constant="16" id="QPY-Ur-rSX"/>
68-
<constraint firstItem="WEl-vh-Ufd" firstAttribute="leading" secondItem="qge-my-26w" secondAttribute="trailing" constant="16" id="XsT-ZW-cuk"/>
69-
<constraint firstAttribute="trailing" secondItem="gKN-wm-C5c" secondAttribute="trailing" constant="16" id="gzZ-2m-exY"/>
70-
<constraint firstItem="gKN-wm-C5c" firstAttribute="baseline" secondItem="qge-my-26w" secondAttribute="baseline" id="sG1-4L-wBA"/>
71-
<constraint firstItem="wfy-db-euE" firstAttribute="top" secondItem="pZ3-ue-1uZ" secondAttribute="bottom" constant="20" id="zQ5-Y9-jR5"/>
65+
<constraint firstItem="WEl-vh-Ufd" firstAttribute="top" secondItem="gKN-wm-C5c" secondAttribute="top" id="D4Y-O0-GDt"/>
66+
<constraint firstItem="WEl-vh-Ufd" firstAttribute="centerX" secondItem="pZ3-ue-1uZ" secondAttribute="centerX" id="E5j-Yd-dS9"/>
67+
<constraint firstItem="gKN-wm-C5c" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" constant="225" id="Hu1-bz-GCA"/>
68+
<constraint firstItem="WEl-vh-Ufd" firstAttribute="trailing" secondItem="pZ3-ue-1uZ" secondAttribute="trailing" id="KIZ-QG-zDj"/>
69+
<constraint firstItem="qge-my-26w" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leading" constant="12" id="MBl-c4-ukS"/>
70+
<constraint firstItem="WEl-vh-Ufd" firstAttribute="leading" secondItem="qge-my-26w" secondAttribute="trailing" constant="20" id="QJb-D2-OVT"/>
71+
<constraint firstAttribute="bottom" secondItem="pZ3-ue-1uZ" secondAttribute="bottom" constant="20" symbolic="YES" id="REE-LU-AVi"/>
72+
<constraint firstAttribute="trailing" secondItem="gKN-wm-C5c" secondAttribute="trailing" constant="35" id="avU-NP-A7u"/>
73+
<constraint firstItem="qge-my-26w" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" constant="225" id="jTt-ul-JKH"/>
74+
<constraint firstItem="WEl-vh-Ufd" firstAttribute="centerX" secondItem="8bC-Xf-vdC" secondAttribute="centerX" id="lXo-CY-eYu"/>
75+
<constraint firstItem="gKN-wm-C5c" firstAttribute="leading" secondItem="WEl-vh-Ufd" secondAttribute="trailing" constant="26" id="nKF-D9-ThT"/>
7276
</constraints>
7377
</view>
7478
<connections>
@@ -78,7 +82,7 @@
7882
</viewController>
7983
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
8084
</objects>
81-
<point key="canvasLocation" x="136.80000000000001" y="138.98050974512745"/>
85+
<point key="canvasLocation" x="69.599999999999994" y="95.802098950524751"/>
8286
</scene>
8387
</scenes>
8488
<resources>

0 commit comments

Comments
 (0)