Skip to content

Commit

Permalink
Fix about page alignment on all devices
Browse files Browse the repository at this point in the history
Split text field in two, added constraints so it sits well on the device
  • Loading branch information
joemcmahon committed Aug 16, 2024
1 parent e4bcbac commit 0e60780
Showing 1 changed file with 43 additions and 25 deletions.
68 changes: 43 additions & 25 deletions RadioSpiral/Storyboards/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="background" translatesAutoresizingMaskIntoConstraints="NO" id="GpH-v2-Q95" userLabel="Background Image View">
<rect key="frame" x="0.0" y="0.0" width="390" height="844"/>
</imageView>
<view clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="K6v-dQ-Ces" userLabel="Pop-up View">
<rect key="frame" x="78" y="319" width="248" height="232"/>
<view clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="K6v-dQ-Ces" userLabel="Pop-up View">
<rect key="frame" x="70" y="319" width="250" height="206"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="4YL-N4-xkC" userLabel="Close Button">
<rect key="frame" x="8" y="8" width="16" height="16"/>
Expand Down Expand Up @@ -128,12 +128,12 @@
<viewLayoutGuide key="safeArea" id="Ogy-0t-iKH"/>
<color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.5" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="Ogy-0t-iKH" firstAttribute="trailing" secondItem="GpH-v2-Q95" secondAttribute="trailing" id="2ZC-Gw-pfb"/>
<constraint firstItem="GpH-v2-Q95" firstAttribute="leading" secondItem="Ogy-0t-iKH" secondAttribute="leading" id="5h5-Vc-Qn3"/>
<constraint firstAttribute="centerY" secondItem="K6v-dQ-Ces" secondAttribute="centerY" id="Bje-b4-6zD"/>
<constraint firstItem="GpH-v2-Q95" firstAttribute="trailing" secondItem="Ogy-0t-iKH" secondAttribute="trailing" id="FJ4-ps-7sx"/>
<constraint firstItem="GpH-v2-Q95" firstAttribute="top" secondItem="OfZ-BE-wMy" secondAttribute="top" id="RN4-ZB-lbp"/>
<constraint firstItem="Ogy-0t-iKH" firstAttribute="centerX" secondItem="K6v-dQ-Ces" secondAttribute="centerX" id="rSF-5v-a7F"/>
<constraint firstAttribute="bottom" secondItem="GpH-v2-Q95" secondAttribute="bottom" id="xS9-r4-beH"/>
<constraint firstItem="K6v-dQ-Ces" firstAttribute="centerY" secondItem="OfZ-BE-wMy" secondAttribute="centerY" id="Se3-26-Dk0"/>
<constraint firstAttribute="bottom" secondItem="GpH-v2-Q95" secondAttribute="bottom" id="dCa-vC-qQh"/>
<constraint firstItem="K6v-dQ-Ces" firstAttribute="centerX" secondItem="OfZ-BE-wMy" secondAttribute="centerX" id="oHx-Ff-dCB"/>
</constraints>
</view>
<connections>
Expand Down Expand Up @@ -634,48 +634,66 @@
</button>
</subviews>
</stackView>
<textView clipsSubviews="YES" multipleTouchEnabled="YES" userInteractionEnabled="NO" contentMode="scaleToFill" misplaced="YES" scrollEnabled="NO" editable="NO" selectable="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7AK-QT-5Xg">
<rect key="frame" x="36" y="108" width="342" height="397"/>
<constraints>
<constraint firstAttribute="height" relation="lessThanOrEqual" priority="750" constant="350" id="L5G-S8-88G" userLabel="height ≤ 450 @750"/>
</constraints>
<string key="text">Curator:
<stackView opaque="NO" contentMode="scaleToFill" spacing="54" translatesAutoresizingMaskIntoConstraints="NO" id="jfk-fa-4Qk">
<rect key="frame" x="31.666666666666657" y="342" width="326.66666666666674" height="160"/>
<subviews>
<textView clipsSubviews="YES" multipleTouchEnabled="YES" userInteractionEnabled="NO" contentMode="scaleToFill" scrollEnabled="NO" editable="NO" selectable="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7AK-QT-5Xg" userLabel="Text View L">
<rect key="frame" x="0.0" y="0.0" width="136.33333333333334" height="160"/>
<constraints>
<constraint firstAttribute="width" constant="136.33333333333334" id="43y-OU-f3o"/>
<constraint firstAttribute="height" relation="lessThanOrEqual" priority="750" constant="350" id="L5G-S8-88G" userLabel="height ≤ 450"/>
</constraints>
<string key="text">Curator:
• Mike Metlay

Second Life:
• Diana Smethurst

Keeping the lights on:
• Paul Harriman

Bot herding/app wrestling:
• Joe McMahon
</string>
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<fontDescription key="fontDescription" style="UICTFontTextStyleCaption1"/>
<textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
</textView>
<textView clipsSubviews="YES" multipleTouchEnabled="YES" userInteractionEnabled="NO" contentMode="scaleToFill" scrollEnabled="NO" editable="NO" selectable="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Cx6-w6-12j" userLabel="Text View R">
<rect key="frame" x="190.33333333333331" y="0.0" width="136.33333333333331" height="160"/>
<constraints>
<constraint firstAttribute="height" relation="lessThanOrEqual" priority="750" constant="350" id="RVv-z6-csh" userLabel="height ≤ 450"/>
</constraints>
<string key="text">Bot herding &amp; app:
• Joe McMahon

Bullhorn:
• Rebekkah Hilgraves

Downtime DJ and attitude:
• Spud</string>
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<fontDescription key="fontDescription" style="UICTFontTextStyleCaption1"/>
<textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
</textView>
Downtime DJ:
• Spud
</string>
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<fontDescription key="fontDescription" style="UICTFontTextStyleCaption1"/>
<textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
</textView>
</subviews>
<constraints>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="326.67000000000002" id="D9O-ep-4MX"/>
</constraints>
</stackView>
</subviews>
<viewLayoutGuide key="safeArea" id="K72-2b-Mye"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints>
<constraint firstItem="7AK-QT-5Xg" firstAttribute="top" secondItem="IL8-0k-WGh" secondAttribute="bottom" constant="8" id="1d5-ec-UU6"/>
<constraint firstItem="FDJ-eG-GLD" firstAttribute="leading" secondItem="K72-2b-Mye" secondAttribute="leading" id="8dd-cT-wBO"/>
<constraint firstItem="K72-2b-Mye" firstAttribute="trailing" secondItem="FDJ-eG-GLD" secondAttribute="trailing" id="E8e-wN-EFe"/>
<constraint firstItem="IL8-0k-WGh" firstAttribute="leading" secondItem="K72-2b-Mye" secondAttribute="leading" constant="16" id="W6d-zN-D7r"/>
<constraint firstItem="I91-Um-X6I" firstAttribute="leading" secondItem="K72-2b-Mye" secondAttribute="leading" constant="16" id="XHA-Oz-ztq"/>
<constraint firstItem="K72-2b-Mye" firstAttribute="trailing" secondItem="IL8-0k-WGh" secondAttribute="trailing" constant="16" id="asJ-BN-gtT"/>
<constraint firstItem="jfk-fa-4Qk" firstAttribute="centerX" secondItem="gkA-NG-Bu8" secondAttribute="centerX" id="ccd-aF-UkW"/>
<constraint firstItem="FDJ-eG-GLD" firstAttribute="top" secondItem="gkA-NG-Bu8" secondAttribute="top" id="eU5-cy-qQW"/>
<constraint firstItem="K72-2b-Mye" firstAttribute="bottom" secondItem="I91-Um-X6I" secondAttribute="bottom" constant="20" id="iqg-1a-5SJ"/>
<constraint firstAttribute="bottom" secondItem="FDJ-eG-GLD" secondAttribute="bottom" id="kcT-mi-eU0"/>
<constraint firstItem="7AK-QT-5Xg" firstAttribute="trailing" secondItem="gkA-NG-Bu8" secondAttribute="trailingMargin" id="piF-sq-nim"/>
<constraint firstItem="K72-2b-Mye" firstAttribute="trailing" secondItem="I91-Um-X6I" secondAttribute="trailing" constant="16" id="rbe-d3-wdF"/>
<constraint firstItem="7AK-QT-5Xg" firstAttribute="leading" secondItem="gkA-NG-Bu8" secondAttribute="leadingMargin" id="u9o-qn-lSS"/>
<constraint firstItem="jfk-fa-4Qk" firstAttribute="centerY" secondItem="gkA-NG-Bu8" secondAttribute="centerY" id="wS7-le-Mgl"/>
<constraint firstItem="IL8-0k-WGh" firstAttribute="top" secondItem="gkA-NG-Bu8" secondAttribute="top" constant="20" id="yCY-yU-Wbh"/>
</constraints>
</view>
Expand All @@ -684,7 +702,7 @@ Downtime DJ and attitude:
<placeholder placeholderIdentifier="IBFirstResponder" id="Fcr-sT-s4N" userLabel="First Responder" sceneMemberID="firstResponder"/>
<exit id="p1c-PP-VS5" userLabel="Exit" sceneMemberID="exit"/>
</objects>
<point key="canvasLocation" x="1163.768115942029" y="1123.6607142857142"/>
<point key="canvasLocation" x="1163.0769230769231" y="1123.2227488151659"/>
</scene>
</scenes>
<resources>
Expand Down

0 comments on commit 0e60780

Please sign in to comment.