Skip to content

Commit

Permalink
Improve iPad layout of the joke reader screen
Browse files Browse the repository at this point in the history
  • Loading branch information
balazs630 committed Dec 7, 2020
1 parent f0d4008 commit 86f8882
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions BadJokes.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 5;
CURRENT_PROJECT_VERSION = 6;
DEVELOPMENT_TEAM = UW8QF9DSWQ;
ENABLE_BITCODE = YES;
INFOPLIST_FILE = "$(SRCROOT)/BadJokes/Supporting Files/Info.plist";
Expand Down Expand Up @@ -713,7 +713,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 5;
CURRENT_PROJECT_VERSION = 6;
DEVELOPMENT_TEAM = UW8QF9DSWQ;
ENABLE_BITCODE = YES;
INFOPLIST_FILE = "$(SRCROOT)/BadJokes/Supporting Files/Info.plist";
Expand Down
12 changes: 8 additions & 4 deletions BadJokes/App Flow/Joke/UI/Jokes.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,12 @@
</constraints>
</view>
</subviews>
<constraints>
<constraint firstAttribute="width" relation="lessThanOrEqual" constant="500" id="h2V-DG-ac0"/>
</constraints>
</stackView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="😃" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="x8g-vH-cuO">
<rect key="frame" x="311" y="433.5" width="28" height="30"/>
<rect key="frame" x="312" y="433.5" width="28" height="30"/>
<fontDescription key="fontDescription" type="system" pointSize="25"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
Expand All @@ -64,10 +67,11 @@
<gestureRecognizers/>
<constraints>
<constraint firstItem="x8g-vH-cuO" firstAttribute="top" secondItem="elT-Uk-Fju" secondAttribute="bottom" constant="-15" id="0Qx-x2-oAC"/>
<constraint firstItem="elT-Uk-Fju" firstAttribute="centerX" secondItem="WOH-F7-ZYa" secondAttribute="centerX" id="3oY-48-lAm"/>
<constraint firstItem="elT-Uk-Fju" firstAttribute="centerY" secondItem="WOH-F7-ZYa" secondAttribute="centerY" constant="-50" id="5mj-nV-2qG"/>
<constraint firstAttribute="trailing" secondItem="elT-Uk-Fju" secondAttribute="trailing" constant="20" id="8Yt-5r-XK5"/>
<constraint firstItem="elT-Uk-Fju" firstAttribute="leading" secondItem="WOH-F7-ZYa" secondAttribute="leading" constant="20" id="cZ3-RQ-0lS"/>
<constraint firstAttribute="trailingMargin" secondItem="x8g-vH-cuO" secondAttribute="trailing" constant="20" id="ckH-Ca-qwY"/>
<constraint firstAttribute="trailing" secondItem="elT-Uk-Fju" secondAttribute="trailing" priority="999" constant="20" id="8Yt-5r-XK5"/>
<constraint firstItem="x8g-vH-cuO" firstAttribute="trailing" secondItem="elT-Uk-Fju" secondAttribute="trailing" constant="-15" id="RXK-OP-YOO"/>
<constraint firstItem="elT-Uk-Fju" firstAttribute="leading" secondItem="WOH-F7-ZYa" secondAttribute="leading" priority="999" constant="20" id="cZ3-RQ-0lS"/>
</constraints>
<connections>
<outletCollection property="gestureRecognizers" destination="IhL-0t-MGK" appends="YES" id="vdR-8A-qhQ"/>
Expand Down

0 comments on commit 86f8882

Please sign in to comment.