MessageTranslationViewController.xib 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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">
  3. <device id="retina6_12" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21678"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  8. <capability name="System colors in document resources" minToolsVersion="11.0"/>
  9. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10. </dependencies>
  11. <objects>
  12. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="MessageTranslationViewController" customModule="NextcloudTalk" customModuleProvider="target">
  13. <connections>
  14. <outlet property="buttonsContainerView" destination="pQ7-ah-m3A" id="3oC-5R-lTw"/>
  15. <outlet property="buttonsContainerViewHeight" destination="P4A-e6-UXW" id="UUm-Ct-UOP"/>
  16. <outlet property="fromButton" destination="bZg-ez-j0b" id="AVy-pL-E0m"/>
  17. <outlet property="fromLabel" destination="1gy-im-hg5" id="86o-rU-JWW"/>
  18. <outlet property="originalTextView" destination="gj7-hq-d4I" id="KRN-Gq-yOb"/>
  19. <outlet property="originalTextViewHeight" destination="6ww-PQ-d9r" id="xWH-ce-eZm"/>
  20. <outlet property="textViewsContainerView" destination="iET-YT-VV4" id="VWE-gM-pwc"/>
  21. <outlet property="toButton" destination="YSa-Af-p7x" id="v6p-xF-TdE"/>
  22. <outlet property="toLabel" destination="n1t-mb-KqL" id="Jkm-Ui-MwX"/>
  23. <outlet property="translateTextView" destination="sSM-sN-KkN" id="gId-vp-rig"/>
  24. <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
  25. </connections>
  26. </placeholder>
  27. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  28. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
  29. <rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
  30. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  31. <subviews>
  32. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="pQ7-ah-m3A">
  33. <rect key="frame" x="16" y="59" width="361" height="80"/>
  34. <subviews>
  35. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1gy-im-hg5">
  36. <rect key="frame" x="0.0" y="16" width="41.333333333333336" height="20"/>
  37. <constraints>
  38. <constraint firstAttribute="width" relation="lessThanOrEqual" constant="100" id="Z6t-ag-tQ3"/>
  39. <constraint firstAttribute="height" constant="20" id="m49-eT-MqF"/>
  40. </constraints>
  41. <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="16"/>
  42. <color key="textColor" systemColor="secondaryLabelColor"/>
  43. <nil key="highlightedColor"/>
  44. </label>
  45. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="n1t-mb-KqL">
  46. <rect key="frame" x="0.0" y="52" width="41.333333333333336" height="20"/>
  47. <constraints>
  48. <constraint firstAttribute="height" constant="20" id="Jmi-vH-d21"/>
  49. <constraint firstAttribute="width" relation="lessThanOrEqual" constant="100" id="Xc3-1o-ES8"/>
  50. </constraints>
  51. <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="16"/>
  52. <color key="textColor" systemColor="secondaryLabelColor"/>
  53. <nil key="highlightedColor"/>
  54. </label>
  55. <button opaque="NO" contentMode="scaleToFill" horizontalCompressionResistancePriority="749" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="tailTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="YSa-Af-p7x">
  56. <rect key="frame" x="49.333333333333329" y="52" width="49" height="20"/>
  57. <constraints>
  58. <constraint firstAttribute="height" constant="20" id="GvG-RF-adB"/>
  59. </constraints>
  60. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  61. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  62. <state key="normal" title="Button"/>
  63. </button>
  64. <button opaque="NO" contentMode="scaleToFill" horizontalCompressionResistancePriority="749" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="tailTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="bZg-ez-j0b" userLabel="Button">
  65. <rect key="frame" x="49.333333333333329" y="16" width="49" height="20"/>
  66. <constraints>
  67. <constraint firstAttribute="height" constant="20" id="pQA-0j-p2r"/>
  68. </constraints>
  69. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  70. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  71. <state key="normal" title="Button"/>
  72. </button>
  73. </subviews>
  74. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  75. <constraints>
  76. <constraint firstItem="1gy-im-hg5" firstAttribute="leading" secondItem="pQ7-ah-m3A" secondAttribute="leading" id="18u-Jm-mR2"/>
  77. <constraint firstItem="n1t-mb-KqL" firstAttribute="leading" secondItem="pQ7-ah-m3A" secondAttribute="leading" id="8iG-SF-3o9"/>
  78. <constraint firstItem="bZg-ez-j0b" firstAttribute="top" secondItem="pQ7-ah-m3A" secondAttribute="top" constant="16" id="Crb-al-UKq"/>
  79. <constraint firstItem="YSa-Af-p7x" firstAttribute="top" secondItem="bZg-ez-j0b" secondAttribute="bottom" constant="16" id="GLO-k6-hBs"/>
  80. <constraint firstItem="YSa-Af-p7x" firstAttribute="leading" secondItem="n1t-mb-KqL" secondAttribute="trailing" constant="8" id="IZH-31-vke"/>
  81. <constraint firstAttribute="height" constant="80" id="P4A-e6-UXW"/>
  82. <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="YSa-Af-p7x" secondAttribute="trailing" id="Uo9-7D-nsi"/>
  83. <constraint firstItem="n1t-mb-KqL" firstAttribute="top" secondItem="1gy-im-hg5" secondAttribute="bottom" constant="16" id="afu-Oh-wkZ"/>
  84. <constraint firstItem="1gy-im-hg5" firstAttribute="top" secondItem="pQ7-ah-m3A" secondAttribute="top" constant="16" id="oda-e7-P7a"/>
  85. <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="bZg-ez-j0b" secondAttribute="trailing" id="sft-LG-sWq"/>
  86. <constraint firstItem="bZg-ez-j0b" firstAttribute="leading" secondItem="1gy-im-hg5" secondAttribute="trailing" constant="8" id="yii-cv-9xT"/>
  87. </constraints>
  88. </view>
  89. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="iET-YT-VV4">
  90. <rect key="frame" x="16" y="155" width="361" height="663"/>
  91. <subviews>
  92. <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" editable="NO" textAlignment="natural" selectable="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gj7-hq-d4I" userLabel="Original Text View">
  93. <rect key="frame" x="0.0" y="0.0" width="361" height="20"/>
  94. <color key="backgroundColor" systemColor="secondarySystemBackgroundColor"/>
  95. <constraints>
  96. <constraint firstAttribute="height" constant="20" id="6ww-PQ-d9r"/>
  97. </constraints>
  98. <color key="textColor" systemColor="secondaryLabelColor"/>
  99. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  100. <textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
  101. </textView>
  102. <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" editable="NO" textAlignment="natural" translatesAutoresizingMaskIntoConstraints="NO" id="sSM-sN-KkN" userLabel="Translation Text View">
  103. <rect key="frame" x="0.0" y="28" width="361" height="635"/>
  104. <color key="textColor" systemColor="labelColor"/>
  105. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  106. <textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
  107. </textView>
  108. </subviews>
  109. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  110. <constraints>
  111. <constraint firstAttribute="trailing" secondItem="sSM-sN-KkN" secondAttribute="trailing" id="2Qh-1g-Gal"/>
  112. <constraint firstItem="sSM-sN-KkN" firstAttribute="top" secondItem="gj7-hq-d4I" secondAttribute="bottom" constant="8" id="Gzf-Fb-bL9"/>
  113. <constraint firstItem="sSM-sN-KkN" firstAttribute="leading" secondItem="iET-YT-VV4" secondAttribute="leading" id="Rv1-VG-qaN"/>
  114. <constraint firstItem="gj7-hq-d4I" firstAttribute="top" secondItem="iET-YT-VV4" secondAttribute="top" id="ZRt-k8-UzN"/>
  115. <constraint firstAttribute="trailing" secondItem="gj7-hq-d4I" secondAttribute="trailing" id="dO2-6V-uHY"/>
  116. <constraint firstAttribute="bottom" secondItem="sSM-sN-KkN" secondAttribute="bottom" id="h0a-tl-FwS"/>
  117. <constraint firstItem="gj7-hq-d4I" firstAttribute="leading" secondItem="iET-YT-VV4" secondAttribute="leading" id="lZy-yW-jKv"/>
  118. </constraints>
  119. </view>
  120. </subviews>
  121. <viewLayoutGuide key="safeArea" id="ok8-dA-EGZ"/>
  122. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  123. <constraints>
  124. <constraint firstItem="pQ7-ah-m3A" firstAttribute="leading" secondItem="ok8-dA-EGZ" secondAttribute="leading" constant="16" id="2Cl-az-E8O"/>
  125. <constraint firstItem="iET-YT-VV4" firstAttribute="leading" secondItem="ok8-dA-EGZ" secondAttribute="leading" constant="16" id="BcJ-En-J1t"/>
  126. <constraint firstItem="ok8-dA-EGZ" firstAttribute="trailing" secondItem="iET-YT-VV4" secondAttribute="trailing" constant="16" id="GIF-YR-MVK"/>
  127. <constraint firstItem="pQ7-ah-m3A" firstAttribute="top" secondItem="ok8-dA-EGZ" secondAttribute="top" id="Jec-YR-ibx"/>
  128. <constraint firstItem="iET-YT-VV4" firstAttribute="top" secondItem="pQ7-ah-m3A" secondAttribute="bottom" constant="16" id="aNk-ct-n9Y"/>
  129. <constraint firstItem="ok8-dA-EGZ" firstAttribute="trailing" secondItem="pQ7-ah-m3A" secondAttribute="trailing" constant="16" id="h6S-bv-SVn"/>
  130. <constraint firstItem="iET-YT-VV4" firstAttribute="bottom" secondItem="ok8-dA-EGZ" secondAttribute="bottom" id="txb-aL-NBj"/>
  131. </constraints>
  132. <point key="canvasLocation" x="139.69465648854961" y="19.718309859154932"/>
  133. </view>
  134. </objects>
  135. <resources>
  136. <systemColor name="labelColor">
  137. <color red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  138. </systemColor>
  139. <systemColor name="secondaryLabelColor">
  140. <color red="0.23529411764705882" green="0.23529411764705882" blue="0.2627450980392157" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
  141. </systemColor>
  142. <systemColor name="secondarySystemBackgroundColor">
  143. <color red="0.94901960784313721" green="0.94901960784313721" blue="0.96862745098039216" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  144. </systemColor>
  145. <systemColor name="systemBackgroundColor">
  146. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  147. </systemColor>
  148. </resources>
  149. </document>