Add Auto Layout view constraint
This commit is contained in:
parent
d1cb790f9a
commit
3cd739f565
|
@ -179,7 +179,7 @@
|
|||
</state>
|
||||
</button>
|
||||
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="N18-2Z-bMS">
|
||||
<rect key="frame" x="469" y="390" width="75" height="44"/>
|
||||
<rect key="frame" x="469" y="426" width="75" height="44"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<state key="normal" title="SUBMIT">
|
||||
<color key="titleColor" red="0.45880425499999999" green="0.42457667529999998" blue="0.85103040929999996" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
|
||||
|
@ -189,7 +189,7 @@
|
|||
</connections>
|
||||
</button>
|
||||
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="tPw-2M-eMO">
|
||||
<rect key="frame" x="569" y="390" width="75" height="44"/>
|
||||
<rect key="frame" x="569" y="426" width="75" height="44"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<state key="normal" title="CLEAR">
|
||||
<color key="titleColor" red="0.45880425499999999" green="0.42457667529999998" blue="0.85103040929999996" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
|
||||
|
@ -199,7 +199,7 @@
|
|||
</connections>
|
||||
</button>
|
||||
<textField opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="Tap Letters To Guess" textAlignment="center" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="U9t-MS-5Gh">
|
||||
<rect key="frame" x="289" y="287" width="535" height="80"/>
|
||||
<rect key="frame" x="289" y="323" width="535" height="80"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<nil key="textColor"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="44"/>
|
||||
|
@ -226,8 +226,14 @@
|
|||
<nil key="textColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<containerView opaque="NO" contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="PRG-pK-2cW">
|
||||
<rect key="frame" x="236" y="323" width="640" height="387"/>
|
||||
</containerView>
|
||||
</subviews>
|
||||
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<constraints>
|
||||
<constraint firstItem="PRG-pK-2cW" firstAttribute="centerX" secondItem="6Tk-OE-BBY" secondAttribute="centerX" id="bXA-h9-suO"/>
|
||||
</constraints>
|
||||
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
|
||||
</view>
|
||||
<connections>
|
||||
|
@ -239,6 +245,7 @@
|
|||
</viewController>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
|
||||
</objects>
|
||||
<point key="canvasLocation" x="116.54676258992806" y="69.784172661870514"/>
|
||||
</scene>
|
||||
</scenes>
|
||||
</document>
|
||||
|
|
Loading…
Reference in New Issue