Skip to content

Commit ace3e94

Browse files
Update: Overlay spacings in portrait
1 parent 56357d1 commit ace3e94

File tree

1 file changed

+18
-17
lines changed

1 file changed

+18
-17
lines changed

WordPress/Classes/ViewRelated/Jetpack/Branding/Overlay/JetpackFullscreenOverlayViewController.xib

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21225" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
3-
<device id="retina4_7" orientation="landscape" appearance="light"/>
3+
<device id="retina4_7" orientation="portrait" appearance="light"/>
44
<dependencies>
55
<deployment identifier="iOS"/>
66
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21207"/>
@@ -24,20 +24,20 @@
2424
</placeholder>
2525
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
2626
<view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
27-
<rect key="frame" x="0.0" y="0.0" width="667" height="375"/>
27+
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
2828
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
2929
<subviews>
3030
<scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Qla-b8-9Ag">
31-
<rect key="frame" x="0.0" y="0.0" width="667" height="280"/>
31+
<rect key="frame" x="0.0" y="0.0" width="375" height="514"/>
3232
<subviews>
3333
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="PbU-M0-J6O" userLabel="Scroll Content View">
34-
<rect key="frame" x="0.0" y="0.0" width="667" height="280"/>
34+
<rect key="frame" x="0.0" y="0.0" width="375" height="514"/>
3535
<subviews>
36-
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="25" translatesAutoresizingMaskIntoConstraints="NO" id="TTg-Z6-h4X" userLabel="Content Stack View">
37-
<rect key="frame" x="30" y="3.5" width="607" height="273"/>
36+
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="20" translatesAutoresizingMaskIntoConstraints="NO" id="TTg-Z6-h4X" userLabel="Content Stack View">
37+
<rect key="frame" x="30" y="115.5" width="315" height="283"/>
3838
<subviews>
3939
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bUe-f2-zzc" userLabel="Icon Super View">
40-
<rect key="frame" x="0.0" y="0.0" width="607" height="65"/>
40+
<rect key="frame" x="0.0" y="0.0" width="315" height="75"/>
4141
<subviews>
4242
<view contentMode="scaleToFill" placeholderIntrinsicWidth="120" placeholderIntrinsicHeight="100" translatesAutoresizingMaskIntoConstraints="NO" id="v3d-AD-Jsf" customClass="AnimationView" customModule="Lottie">
4343
<rect key="frame" x="0.0" y="0.0" width="120" height="65"/>
@@ -51,29 +51,31 @@
5151
<constraints>
5252
<constraint firstItem="v3d-AD-Jsf" firstAttribute="leading" secondItem="bUe-f2-zzc" secondAttribute="leading" id="0UI-m4-Lgf"/>
5353
<constraint firstItem="v3d-AD-Jsf" firstAttribute="top" secondItem="bUe-f2-zzc" secondAttribute="top" id="OaQ-NS-YRw"/>
54-
<constraint firstAttribute="bottom" secondItem="v3d-AD-Jsf" secondAttribute="bottom" id="fBl-FF-uc8"/>
54+
<constraint firstAttribute="bottom" secondItem="v3d-AD-Jsf" secondAttribute="bottom" constant="10" id="fBl-FF-uc8">
55+
<variation key="heightClass=compact" constant="0.0"/>
56+
</constraint>
5557
</constraints>
5658
</view>
5759
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Title Label" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" minimumScaleFactor="0.59999999999999998" translatesAutoresizingMaskIntoConstraints="NO" id="EqD-nO-Q6T">
58-
<rect key="frame" x="0.0" y="85" width="607" height="20.5"/>
60+
<rect key="frame" x="0.0" y="95" width="315" height="20.5"/>
5961
<fontDescription key="fontDescription" type="system" pointSize="17"/>
6062
<nil key="textColor"/>
6163
<nil key="highlightedColor"/>
6264
</label>
6365
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Subtitle Label" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" minimumScaleFactor="0.59999999999999998" translatesAutoresizingMaskIntoConstraints="NO" id="n6H-KY-dMw">
64-
<rect key="frame" x="0.0" y="125.5" width="607" height="20.5"/>
66+
<rect key="frame" x="0.0" y="135.5" width="315" height="20.5"/>
6567
<fontDescription key="fontDescription" type="system" pointSize="17"/>
6668
<nil key="textColor"/>
6769
<nil key="highlightedColor"/>
6870
</label>
6971
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Footnote Label" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" minimumScaleFactor="0.59999999999999998" translatesAutoresizingMaskIntoConstraints="NO" id="1l4-qY-6ZA">
70-
<rect key="frame" x="0.0" y="166" width="607" height="20.5"/>
72+
<rect key="frame" x="0.0" y="176" width="315" height="20.5"/>
7173
<fontDescription key="fontDescription" type="system" pointSize="17"/>
7274
<nil key="textColor"/>
7375
<nil key="highlightedColor"/>
7476
</label>
7577
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="0z9-x4-AgY" userLabel="Learn More Super View">
76-
<rect key="frame" x="0.0" y="206.5" width="607" height="66.5"/>
78+
<rect key="frame" x="0.0" y="216.5" width="315" height="66.5"/>
7779
<subviews>
7880
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="leading" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="n55-iX-u43">
7981
<rect key="frame" x="0.0" y="0.0" width="128" height="66.5"/>
@@ -92,7 +94,6 @@
9294
</constraints>
9395
</view>
9496
</subviews>
95-
<variation key="heightClass=compact" spacing="20"/>
9697
</stackView>
9798
</subviews>
9899
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
@@ -115,10 +116,10 @@
115116
</constraints>
116117
</scrollView>
117118
<stackView opaque="NO" contentMode="scaleToFill" placeholderIntrinsicWidth="354" placeholderIntrinsicHeight="166" axis="vertical" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="vcE-wc-fHe">
118-
<rect key="frame" x="30" y="295" width="607" height="50"/>
119+
<rect key="frame" x="10.5" y="529" width="354" height="108"/>
119120
<subviews>
120121
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="VGE-FS-gsd">
121-
<rect key="frame" x="0.0" y="0.0" width="96" height="50"/>
122+
<rect key="frame" x="0.0" y="0.0" width="354" height="50"/>
122123
<constraints>
123124
<constraint firstAttribute="width" relation="lessThanOrEqual" constant="354" id="93l-ng-h5B"/>
124125
<constraint firstAttribute="height" constant="50" id="DD0-7r-C5O">
@@ -132,7 +133,7 @@
132133
</connections>
133134
</button>
134135
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="hPW-8A-Di4">
135-
<rect key="frame" x="104" y="0.0" width="112" height="50"/>
136+
<rect key="frame" x="0.0" y="58" width="354" height="50"/>
136137
<constraints>
137138
<constraint firstAttribute="height" constant="50" id="cH2-GJ-f7z">
138139
<variation key="heightClass=compact-widthClass=regular" constant="44"/>
@@ -145,7 +146,7 @@
145146
</connections>
146147
</button>
147148
<view hidden="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="c3P-qm-yq7" userLabel="Horizontal Filler View">
148-
<rect key="frame" x="224" y="0.0" width="383" height="50"/>
149+
<rect key="frame" x="0.0" y="108" width="354" height="0.0"/>
149150
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
150151
<variation key="heightClass=compact" hidden="NO"/>
151152
</view>

0 commit comments

Comments
 (0)