Skip to content
This repository was archived by the owner on Jun 17, 2023. It is now read-only.

Commit 7301316

Browse files
author
Amir Khorsandi
committed
Fix ui issues on small iPads
1 parent 5cba1cc commit 7301316

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Samples/PagingLayoutSamples/Modules/LayoutDesigner/LayoutDesignerViewController.xib

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@
235235
</subviews>
236236
<color key="backgroundColor" name="DesignerBackground"/>
237237
<constraints>
238+
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="320" id="0b8-zO-xfB"/>
238239
<constraint firstItem="NyD-R7-l0J" firstAttribute="leading" secondItem="nl2-ey-EcQ" secondAttribute="leading" constant="22" id="EBD-hI-uBV"/>
239240
<constraint firstItem="dmm-bK-wwh" firstAttribute="leading" secondItem="nl2-ey-EcQ" secondAttribute="leading" id="Eko-sH-H04"/>
240241
<constraint firstAttribute="trailing" secondItem="NyD-R7-l0J" secondAttribute="trailing" constant="22" id="FxT-KW-h7C"/>
@@ -248,7 +249,7 @@
248249
<rect key="frame" x="913.5" y="0.0" width="563.5" height="758"/>
249250
<color key="backgroundColor" red="0.16078431372549018" green="0.16470588235294117" blue="0.18823529411764706" alpha="1" colorSpace="calibratedRGB"/>
250251
<constraints>
251-
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="500" id="A6T-bX-xuz"/>
252+
<constraint firstAttribute="width" relation="greaterThanOrEqual" priority="755" constant="500" id="A6T-bX-xuz"/>
252253
</constraints>
253254
</view>
254255
</subviews>

Samples/PagingLayoutSamples/Modules/LayoutDesigner/Options/LayoutDesignerOptionsTableView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ extension LayoutDesignerOptionsTableView: UITableViewDelegate {
6565
let header = UIView()
6666
let label = UILabel()
6767
label.textColor = .white
68+
label.adjustsFontSizeToFitWidth = true
6869
label.font = .systemFont(ofSize: 33, weight: .medium)
6970
label.text = optionViewModels[section].title
7071
header.fill(with: label, edges: .init(top: 10, left: 24, bottom: -10, right: -24))

0 commit comments

Comments
 (0)