Skip to content

Commit

Permalink
Merge pull request #1301 from nextcloud/adjust-placeholder-view-const…
Browse files Browse the repository at this point in the history
…raints

Adjust placeholder view constraints to safe area
  • Loading branch information
SystemKeeper authored Jul 18, 2023
2 parents eef9b68 + 2b8e663 commit 0e8ac79
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions NextcloudTalk/PlaceholderView.xib
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="18122" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina4_7" orientation="portrait" appearance="dark"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="18093"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21679"/>
<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"/>
Expand All @@ -24,21 +24,21 @@
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<activityIndicatorView opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" style="medium" translatesAutoresizingMaskIntoConstraints="NO" id="FB3-Ig-rQB">
<rect key="frame" x="165" y="165" width="20" height="20"/>
<rect key="frame" x="165" y="175" width="20" height="20"/>
<color key="color" systemColor="placeholderTextColor"/>
</activityIndicatorView>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Vla-vD-TGa">
<rect key="frame" x="16" y="20" width="318" height="310"/>
<rect key="frame" x="16" y="40" width="318" height="290"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="chat-placeholder" translatesAutoresizingMaskIntoConstraints="NO" id="VTo-Dp-QXn">
<rect key="frame" x="95" y="27" width="128" height="128"/>
<rect key="frame" x="95" y="17" width="128" height="128"/>
<constraints>
<constraint firstAttribute="height" constant="128" id="HMf-1J-e5D"/>
<constraint firstAttribute="width" constant="128" id="ert-mq-fmE"/>
</constraints>
</imageView>
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" editable="NO" text="No messages yet, start the conversation!" textAlignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="pmx-ec-gNw">
<rect key="frame" x="0.0" y="155" width="318" height="155"/>
<rect key="frame" x="0.0" y="145" width="318" height="145"/>
<color key="textColor" systemColor="placeholderTextColor"/>
<fontDescription key="fontDescription" type="system" pointSize="16"/>
<textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
Expand All @@ -61,13 +61,11 @@
<viewLayoutGuide key="safeArea" id="MQb-YF-lsB"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints>
<constraint firstItem="FB3-Ig-rQB" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="JXb-4p-Q1n"/>
<constraint firstItem="FB3-Ig-rQB" firstAttribute="centerY" secondItem="MQb-YF-lsB" secondAttribute="centerY" id="JXb-4p-Q1n"/>
<constraint firstItem="Vla-vD-TGa" firstAttribute="leading" secondItem="MQb-YF-lsB" secondAttribute="leading" constant="16" id="O8w-gy-WDd"/>
<constraint firstItem="MQb-YF-lsB" firstAttribute="bottom" secondItem="Vla-vD-TGa" secondAttribute="bottom" constant="20" id="bOS-hV-MdP"/>
<constraint firstItem="Vla-vD-TGa" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="jWR-Hn-EeS"/>
<constraint firstItem="FB3-Ig-rQB" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="o9d-6d-Hew"/>
<constraint firstItem="FB3-Ig-rQB" firstAttribute="centerX" secondItem="MQb-YF-lsB" secondAttribute="centerX" id="o9d-6d-Hew"/>
<constraint firstItem="MQb-YF-lsB" firstAttribute="trailing" secondItem="Vla-vD-TGa" secondAttribute="trailing" constant="16" id="ocj-LQ-CoL"/>
<constraint firstItem="Vla-vD-TGa" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="t8Q-1d-md6"/>
<constraint firstItem="Vla-vD-TGa" firstAttribute="top" secondItem="MQb-YF-lsB" secondAttribute="top" constant="20" id="ygl-nN-far"/>
</constraints>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
Expand All @@ -77,7 +75,7 @@
<resources>
<image name="chat-placeholder" width="128" height="128"/>
<systemColor name="placeholderTextColor">
<color red="0.23529411764705882" green="0.23529411764705882" blue="0.2627450980392157" alpha="0.29999999999999999" colorSpace="custom" customColorSpace="sRGB"/>
<color red="0.23529411764705882" green="0.23529411764705882" blue="0.2627450980392157" alpha="0.29803921568627451" colorSpace="custom" customColorSpace="sRGB"/>
</systemColor>
<systemColor name="systemBackgroundColor">
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
Expand Down

0 comments on commit 0e8ac79

Please sign in to comment.