Skip to content

Commit

Permalink
Use safe area guides
Browse files Browse the repository at this point in the history
  • Loading branch information
dus7 committed Dec 19, 2024
1 parent 8ede61b commit c8d055a
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions DuckDuckGo/BrowsingMenu/BrowsingMenuViewController.storyboard
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="23504" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="guL-1g-W6K">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="23504" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="guL-1g-W6K">
<device id="retina4_7" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="23506"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="System colors in document resources" minToolsVersion="11.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
Expand All @@ -12,10 +13,6 @@
<scene sceneID="2Ec-6C-XHf">
<objects>
<viewController storyboardIdentifier="BrowsingMenuViewController" useStoryboardIdentifierAsRestorationIdentifier="YES" id="guL-1g-W6K" userLabel="BrowsingMenuViewController" customClass="BrowsingMenuViewController" customModule="DuckDuckGo" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="gzK-ia-chJ"/>
<viewControllerLayoutGuide type="bottom" id="4px-c2-WNK"/>
</layoutGuides>
<view key="view" clipsSubviews="YES" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="HSy-5d-3QF">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<subviews>
Expand Down Expand Up @@ -197,19 +194,20 @@
</constraints>
</view>
</subviews>
<viewLayoutGuide key="safeArea" id="HNa-lc-6hJ"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="ssw-57-OlQ" firstAttribute="top" relation="greaterThanOrEqual" secondItem="HSy-5d-3QF" secondAttribute="top" constant="-10" id="1cH-Yn-zF1"/>
<constraint firstAttribute="trailing" secondItem="cLM-7K-NLL" secondAttribute="trailing" id="Irg-qn-OOZ"/>
<constraint firstItem="HNa-lc-6hJ" firstAttribute="trailing" secondItem="cLM-7K-NLL" secondAttribute="trailing" id="Irg-qn-OOZ"/>
<constraint firstItem="cLM-7K-NLL" firstAttribute="height" secondItem="HSy-5d-3QF" secondAttribute="height" id="OnL-Gp-loB"/>
<constraint firstAttribute="bottom" secondItem="ssw-57-OlQ" secondAttribute="bottom" constant="-10" id="Sqs-BQ-HrD"/>
<constraint firstItem="ssw-57-OlQ" firstAttribute="top" secondItem="gzK-ia-chJ" secondAttribute="bottom" constant="27" id="XLy-dn-BT4" userLabel="Top Constraint iPad"/>
<constraint firstItem="ssw-57-OlQ" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="HSy-5d-3QF" secondAttribute="leading" id="ZtV-Ub-MCm"/>
<constraint firstItem="ssw-57-OlQ" firstAttribute="top" secondItem="HNa-lc-6hJ" secondAttribute="top" constant="27" id="XLy-dn-BT4" userLabel="Top Constraint iPad"/>
<constraint firstItem="ssw-57-OlQ" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="HNa-lc-6hJ" secondAttribute="leading" id="ZtV-Ub-MCm"/>
<constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="ssw-57-OlQ" secondAttribute="bottom" id="aCb-CX-Xic" userLabel="Bottom Constraint iPad"/>
<constraint firstAttribute="trailing" secondItem="ssw-57-OlQ" secondAttribute="trailing" id="e1o-lA-w8S"/>
<constraint firstItem="HNa-lc-6hJ" firstAttribute="trailing" secondItem="ssw-57-OlQ" secondAttribute="trailing" id="e1o-lA-w8S"/>
<constraint firstItem="cLM-7K-NLL" firstAttribute="centerY" secondItem="HSy-5d-3QF" secondAttribute="centerY" id="hAN-IU-tgQ"/>
<constraint firstItem="ssw-57-OlQ" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="HSy-5d-3QF" secondAttribute="leading" priority="950" constant="30" id="wT6-gM-s7n"/>
<constraint firstItem="cLM-7K-NLL" firstAttribute="leading" secondItem="HSy-5d-3QF" secondAttribute="leading" id="yw2-aK-Nus"/>
<constraint firstItem="ssw-57-OlQ" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="HNa-lc-6hJ" secondAttribute="leading" priority="950" constant="30" id="wT6-gM-s7n"/>
<constraint firstItem="cLM-7K-NLL" firstAttribute="leading" secondItem="HNa-lc-6hJ" secondAttribute="leading" id="yw2-aK-Nus"/>
</constraints>
<variation key="default">
<mask key="constraints">
Expand Down

0 comments on commit c8d055a

Please sign in to comment.