AIHeaderView.xib 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
  3. <dependencies>
  4. <deployment identifier="macosx"/>
  5. <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
  6. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  7. </dependencies>
  8. <objects>
  9. <customObject id="-2" userLabel="File's Owner"/>
  10. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  11. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  12. <customView id="c22-O7-iKe" customClass="AIHeaderView" customModule="PDF_Reader_Pro" customModuleProvider="target">
  13. <rect key="frame" x="0.0" y="0.0" width="276" height="28"/>
  14. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  15. <subviews>
  16. <customView translatesAutoresizingMaskIntoConstraints="NO" id="5lh-br-Aha">
  17. <rect key="frame" x="0.0" y="0.0" width="276" height="28"/>
  18. <subviews>
  19. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="O3R-FR-hei">
  20. <rect key="frame" x="11" y="12" width="52" height="16"/>
  21. <textFieldCell key="cell" lineBreakMode="clipping" title="AI Tools" id="jmN-fM-TzH">
  22. <font key="font" metaFont="system"/>
  23. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  24. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  25. </textFieldCell>
  26. </textField>
  27. <customView translatesAutoresizingMaskIntoConstraints="NO" id="z8M-Op-YEn">
  28. <rect key="frame" x="157" y="8" width="111" height="20"/>
  29. <subviews>
  30. <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Bss-Z9-UZc">
  31. <rect key="frame" x="0.0" y="0.0" width="111" height="20"/>
  32. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  33. <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="axesIndependently" image="AICreditIcon" id="Pcg-3x-rDo"/>
  34. </imageView>
  35. <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="Fdq-A3-4Qq">
  36. <rect key="frame" x="8" y="2" width="16" height="16"/>
  37. <constraints>
  38. <constraint firstAttribute="width" constant="16" id="Mi1-UU-paE"/>
  39. <constraint firstAttribute="height" constant="16" id="Zxq-S7-lqd"/>
  40. </constraints>
  41. <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="axesIndependently" image="aiIconA" id="5ZC-K5-d3k"/>
  42. </imageView>
  43. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Fxp-Me-pe7">
  44. <rect key="frame" x="26" y="2" width="79" height="16"/>
  45. <textFieldCell key="cell" lineBreakMode="clipping" title="My AI Credit" id="ktG-60-NbH">
  46. <font key="font" metaFont="system"/>
  47. <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  48. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  49. </textFieldCell>
  50. </textField>
  51. <button verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="0zC-B6-jlS">
  52. <rect key="frame" x="0.0" y="0.0" width="111" height="20"/>
  53. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  54. <buttonCell key="cell" type="bevel" bezelStyle="rounded" imagePosition="overlaps" alignment="center" lineBreakMode="charWrapping" imageScaling="axesIndependently" inset="2" id="LJQ-YD-tZZ">
  55. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  56. <font key="font" metaFont="smallSystem"/>
  57. </buttonCell>
  58. <connections>
  59. <action selector="creditInfoAction:" target="c22-O7-iKe" id="cei-gp-6Dd"/>
  60. </connections>
  61. </button>
  62. </subviews>
  63. <constraints>
  64. <constraint firstAttribute="height" constant="20" id="4mQ-kY-57E"/>
  65. <constraint firstItem="Fxp-Me-pe7" firstAttribute="leading" secondItem="Fdq-A3-4Qq" secondAttribute="trailing" constant="4" id="MxP-Sg-MnF"/>
  66. <constraint firstItem="Fdq-A3-4Qq" firstAttribute="leading" secondItem="z8M-Op-YEn" secondAttribute="leading" constant="8" id="OEb-L0-Wfq"/>
  67. <constraint firstItem="Fxp-Me-pe7" firstAttribute="centerY" secondItem="z8M-Op-YEn" secondAttribute="centerY" id="nMr-JV-glL"/>
  68. <constraint firstAttribute="trailing" secondItem="Fxp-Me-pe7" secondAttribute="trailing" constant="8" id="yqS-1h-Byl"/>
  69. <constraint firstItem="Fdq-A3-4Qq" firstAttribute="centerY" secondItem="z8M-Op-YEn" secondAttribute="centerY" id="zMQ-c0-aod"/>
  70. </constraints>
  71. </customView>
  72. <customView translatesAutoresizingMaskIntoConstraints="NO" id="Mub-uz-ya0">
  73. <rect key="frame" x="8" y="0.0" width="260" height="1"/>
  74. <constraints>
  75. <constraint firstAttribute="height" constant="1" id="iMp-lz-hyt"/>
  76. </constraints>
  77. </customView>
  78. </subviews>
  79. <constraints>
  80. <constraint firstItem="Mub-uz-ya0" firstAttribute="leading" secondItem="5lh-br-Aha" secondAttribute="leading" constant="8" id="4dV-sP-wbL"/>
  81. <constraint firstAttribute="trailing" secondItem="Mub-uz-ya0" secondAttribute="trailing" constant="8" id="5rj-DH-lCd"/>
  82. <constraint firstItem="z8M-Op-YEn" firstAttribute="top" secondItem="5lh-br-Aha" secondAttribute="top" id="Evu-sG-s96"/>
  83. <constraint firstItem="O3R-FR-hei" firstAttribute="leading" secondItem="5lh-br-Aha" secondAttribute="leading" constant="13" id="MyB-OO-tyH"/>
  84. <constraint firstAttribute="bottom" secondItem="Mub-uz-ya0" secondAttribute="bottom" id="PQZ-oD-7mR"/>
  85. <constraint firstItem="O3R-FR-hei" firstAttribute="top" secondItem="5lh-br-Aha" secondAttribute="top" id="hbP-52-ANg"/>
  86. <constraint firstAttribute="trailing" secondItem="z8M-Op-YEn" secondAttribute="trailing" constant="8" id="qdy-yl-wdj"/>
  87. </constraints>
  88. </customView>
  89. </subviews>
  90. <constraints>
  91. <constraint firstItem="5lh-br-Aha" firstAttribute="top" secondItem="c22-O7-iKe" secondAttribute="top" id="4Ne-tK-47X"/>
  92. <constraint firstAttribute="bottom" secondItem="5lh-br-Aha" secondAttribute="bottom" id="Bk2-mJ-Do4"/>
  93. <constraint firstItem="5lh-br-Aha" firstAttribute="leading" secondItem="c22-O7-iKe" secondAttribute="leading" id="Kf9-x7-NLH"/>
  94. <constraint firstAttribute="trailing" secondItem="5lh-br-Aha" secondAttribute="trailing" id="hEP-CN-wSf"/>
  95. </constraints>
  96. <connections>
  97. <outlet property="contendView" destination="5lh-br-Aha" id="AJT-YG-Ll6"/>
  98. <outlet property="myCreditLabel" destination="Fxp-Me-pe7" id="D72-7D-1Ql"/>
  99. <outlet property="seplineView" destination="Mub-uz-ya0" id="iA6-40-sic"/>
  100. <outlet property="titleLabel" destination="O3R-FR-hei" id="PM2-Vy-wYu"/>
  101. </connections>
  102. <point key="canvasLocation" x="35.5" y="109.5"/>
  103. </customView>
  104. </objects>
  105. <resources>
  106. <image name="AICreditIcon" width="103" height="20"/>
  107. <image name="aiIconA" width="16" height="16"/>
  108. </resources>
  109. </document>