Skip to content

Commit 7e8d5fd

Browse files
authored
chore: Update sample (#2972)
Fix sample Extra tab content alignment. The first row of actions were unreachable.
1 parent 1db04d8 commit 7e8d5fd

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

Samples/iOS-Swift/iOS-Swift/Base.lproj/Main.storyboard

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@
436436
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
437437
<subviews>
438438
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="zhO-zJ-CAt">
439-
<rect key="frame" x="8" y="13" width="304" height="557"/>
439+
<rect key="frame" x="8" y="80" width="304" height="455"/>
440440
<subviews>
441441
<stackView opaque="NO" contentMode="scaleToFill" distribution="fillEqually" translatesAutoresizingMaskIntoConstraints="NO" id="Yzg-QH-aPg">
442442
<rect key="frame" x="0.0" y="0.0" width="304" height="168"/>
@@ -545,44 +545,44 @@
545545
</subviews>
546546
</stackView>
547547
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillEqually" translatesAutoresizingMaskIntoConstraints="NO" id="omd-Rj-xhq">
548-
<rect key="frame" x="0.0" y="168" width="304" height="389"/>
548+
<rect key="frame" x="0.0" y="168" width="304" height="287"/>
549549
<subviews>
550550
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="eMF-4u-JGE">
551-
<rect key="frame" x="8" y="32" width="288" height="50"/>
551+
<rect key="frame" x="8" y="32" width="288" height="38.5"/>
552552
<fontDescription key="fontDescription" type="system" pointSize="17"/>
553553
<nil key="textColor"/>
554554
<nil key="highlightedColor"/>
555555
</label>
556556
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="DSN " textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="FXp-oI-RdR">
557-
<rect key="frame" x="8" y="82" width="288" height="50"/>
557+
<rect key="frame" x="8" y="70.5" width="288" height="38.5"/>
558558
<fontDescription key="fontDescription" type="system" pointSize="17"/>
559559
<nil key="textColor"/>
560560
<nil key="highlightedColor"/>
561561
</label>
562562
<textField opaque="NO" contentMode="scaleToFill" verticalHuggingPriority="249" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="wzO-lb-yFR">
563-
<rect key="frame" x="8" y="132" width="288" height="50"/>
563+
<rect key="frame" x="8" y="109" width="288" height="38.5"/>
564564
<fontDescription key="fontDescription" type="system" pointSize="14"/>
565565
<textInputTraits key="textInputTraits"/>
566566
<connections>
567567
<action selector="dsnChanged:" destination="VqS-l1-kwe" eventType="editingChanged" id="XYW-iO-EtQ"/>
568568
</connections>
569569
</textField>
570570
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="te3-IR-L1y">
571-
<rect key="frame" x="8" y="182" width="288" height="50"/>
571+
<rect key="frame" x="8" y="147.5" width="288" height="38.5"/>
572572
<state key="normal" title="Reset DSN"/>
573573
<connections>
574574
<action selector="resetDSN:" destination="VqS-l1-kwe" eventType="touchUpInside" id="3LJ-al-JGc"/>
575575
</connections>
576576
</button>
577577
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Frames" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="xua-qE-dXN" userLabel="frames">
578-
<rect key="frame" x="8" y="232" width="288" height="50"/>
578+
<rect key="frame" x="8" y="186" width="288" height="38.5"/>
579579
<accessibility key="accessibilityConfiguration" identifier="framesStatsLabel"/>
580580
<fontDescription key="fontDescription" type="system" pointSize="17"/>
581581
<nil key="textColor"/>
582582
<nil key="highlightedColor"/>
583583
</label>
584584
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Last breadcrumb" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4M5-qM-BM9" userLabel="breadcrumb">
585-
<rect key="frame" x="8" y="282" width="288" height="50"/>
585+
<rect key="frame" x="8" y="224.5" width="288" height="38.5"/>
586586
<accessibility key="accessibilityConfiguration" identifier="breadcrumbLabel"/>
587587
<fontDescription key="fontDescription" type="system" pointSize="17"/>
588588
<nil key="textColor"/>
@@ -597,9 +597,10 @@
597597
<viewLayoutGuide key="safeArea" id="QWh-GD-7Cl"/>
598598
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
599599
<constraints>
600-
<constraint firstItem="zhO-zJ-CAt" firstAttribute="centerY" secondItem="QWh-GD-7Cl" secondAttribute="centerY" id="6pX-ML-1Hh"/>
601600
<constraint firstItem="zhO-zJ-CAt" firstAttribute="leading" secondItem="QWh-GD-7Cl" secondAttribute="leading" constant="8" id="Asm-Ny-qaW"/>
601+
<constraint firstItem="QWh-GD-7Cl" firstAttribute="top" secondItem="zhO-zJ-CAt" secondAttribute="top" constant="-16" id="TtS-yc-lSm"/>
602602
<constraint firstItem="QWh-GD-7Cl" firstAttribute="trailing" secondItem="zhO-zJ-CAt" secondAttribute="trailing" constant="8" id="eGG-ja-YO9"/>
603+
<constraint firstItem="zhO-zJ-CAt" firstAttribute="bottom" secondItem="QWh-GD-7Cl" secondAttribute="bottom" constant="16" id="ezv-Y5-lKd"/>
603604
<constraint firstItem="zhO-zJ-CAt" firstAttribute="centerX" secondItem="QWh-GD-7Cl" secondAttribute="centerX" id="rW3-yv-lJt"/>
604605
</constraints>
605606
</view>

0 commit comments

Comments
 (0)