KMToolbarViewController.xib 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22155" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
  3. <dependencies>
  4. <deployment identifier="macosx"/>
  5. <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22155"/>
  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" customClass="KMToolbarViewController" customModule="PDF_Reader_Pro" customModuleProvider="target">
  10. <connections>
  11. <outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
  12. <outlet property="zoomButton" destination="sfH-r9-sge" id="eXr-4T-CdS"/>
  13. <outlet property="zoomTextField" destination="jY6-F5-0CN" id="cag-36-ymD"/>
  14. <outlet property="zoomView" destination="4kF-KO-Q0j" id="VZE-bP-xjg"/>
  15. </connections>
  16. </customObject>
  17. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  18. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  19. <customView id="Hz6-mo-xeY">
  20. <rect key="frame" x="0.0" y="0.0" width="480" height="41"/>
  21. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  22. <point key="canvasLocation" x="65" y="-15.5"/>
  23. </customView>
  24. <view id="4kF-KO-Q0j">
  25. <rect key="frame" x="0.0" y="0.0" width="55" height="16"/>
  26. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  27. <subviews>
  28. <textField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="jY6-F5-0CN">
  29. <rect key="frame" x="0.0" y="0.0" width="40" height="16"/>
  30. <constraints>
  31. <constraint firstAttribute="width" constant="40" id="oRp-g3-9io"/>
  32. </constraints>
  33. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" focusRingType="none" alignment="left" title="100%" drawsBackground="YES" id="IdP-GL-aQz">
  34. <numberFormatter key="formatter" formatterBehavior="10_0" positiveFormat="0%" negativeFormat="-0%" hasThousandSeparators="NO" thousandSeparator="," id="xzG-LJ-Kwc">
  35. <attributedString key="attributedStringForZero">
  36. <fragment content="0%"/>
  37. </attributedString>
  38. <real key="minimum" value="10"/>
  39. <real key="maximum" value="10000"/>
  40. </numberFormatter>
  41. <font key="font" metaFont="system"/>
  42. <color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
  43. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  44. </textFieldCell>
  45. </textField>
  46. <popUpButton translatesAutoresizingMaskIntoConstraints="NO" id="sfH-r9-sge">
  47. <rect key="frame" x="35" y="-2" width="20" height="20"/>
  48. <popUpButtonCell key="cell" type="bevel" title="Item" bezelStyle="regularSquare" alignment="left" lineBreakMode="truncatingTail" tag="10000" imageScaling="proportionallyDown" inset="2" pullsDown="YES" arrowPosition="noArrow" autoenablesItems="NO" altersStateOfSelectedItem="NO" id="0io-Bv-6t5" userLabel="Fit ">
  49. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  50. <font key="font" metaFont="menu"/>
  51. <menu key="menu" autoenablesItems="NO" id="xgl-ac-Og1">
  52. <items>
  53. <menuItem title="Item" image="KMImageNameUXIconBtnArrowDown" tag="10000" hidden="YES" id="PCC-ea-jbI">
  54. <modifierMask key="keyEquivalentModifierMask"/>
  55. </menuItem>
  56. <menuItem title="Automatically Resize" id="7sF-J9-uAz"/>
  57. <menuItem title="Actual Size" tag="2" id="gm2-g6-a5k">
  58. <modifierMask key="keyEquivalentModifierMask"/>
  59. </menuItem>
  60. <menuItem title="Zoom To Fit" tag="1" id="ZlI-8u-vaC">
  61. <modifierMask key="keyEquivalentModifierMask"/>
  62. </menuItem>
  63. <menuItem isSeparatorItem="YES" tag="2" id="OB0-22-gxk"/>
  64. <menuItem title="10%" tag="3" id="IHp-Yk-Kxn"/>
  65. <menuItem title="25%" tag="4" id="k5w-qr-CDA"/>
  66. <menuItem title="50%" tag="5" id="4E6-bL-acT">
  67. <modifierMask key="keyEquivalentModifierMask"/>
  68. </menuItem>
  69. <menuItem title="75%" tag="6" id="Fny-2Y-l8Z">
  70. <modifierMask key="keyEquivalentModifierMask"/>
  71. </menuItem>
  72. <menuItem title="100%" tag="7" id="SvM-5o-7fp">
  73. <modifierMask key="keyEquivalentModifierMask"/>
  74. </menuItem>
  75. <menuItem title="150%" tag="8" id="tPf-A4-iRp">
  76. <modifierMask key="keyEquivalentModifierMask"/>
  77. </menuItem>
  78. <menuItem title="200%" tag="9" id="9yC-ZB-8KP">
  79. <modifierMask key="keyEquivalentModifierMask"/>
  80. </menuItem>
  81. <menuItem title="400%" tag="10" id="EdW-28-RDZ">
  82. <modifierMask key="keyEquivalentModifierMask"/>
  83. </menuItem>
  84. <menuItem title="800%" tag="11" id="Lr7-Tq-wqC">
  85. <modifierMask key="keyEquivalentModifierMask"/>
  86. </menuItem>
  87. <menuItem title="1600%" tag="12" id="kWX-eV-bnl">
  88. <modifierMask key="keyEquivalentModifierMask"/>
  89. </menuItem>
  90. <menuItem title="3200%" tag="13" id="j0D-aP-m7a">
  91. <modifierMask key="keyEquivalentModifierMask"/>
  92. </menuItem>
  93. <menuItem title="6400%" tag="14" id="P4k-cr-IC5">
  94. <modifierMask key="keyEquivalentModifierMask"/>
  95. </menuItem>
  96. <menuItem title="10000%" tag="15" id="evN-QJ-YkV">
  97. <modifierMask key="keyEquivalentModifierMask"/>
  98. </menuItem>
  99. </items>
  100. </menu>
  101. </popUpButtonCell>
  102. <constraints>
  103. <constraint firstAttribute="height" constant="20" id="Yeh-3r-jhb"/>
  104. <constraint firstAttribute="width" constant="15" id="eUO-B8-dXv"/>
  105. </constraints>
  106. <connections>
  107. <action selector="zoomModelSelectButtonAction:" target="-2" id="ch8-xQ-hzo"/>
  108. </connections>
  109. </popUpButton>
  110. </subviews>
  111. <constraints>
  112. <constraint firstItem="jY6-F5-0CN" firstAttribute="leading" secondItem="4kF-KO-Q0j" secondAttribute="leading" id="4j3-yY-iVH"/>
  113. <constraint firstAttribute="bottom" secondItem="jY6-F5-0CN" secondAttribute="bottom" id="Lmd-C6-lmc"/>
  114. <constraint firstAttribute="trailing" secondItem="sfH-r9-sge" secondAttribute="trailing" id="P2g-Du-fT5"/>
  115. <constraint firstItem="sfH-r9-sge" firstAttribute="leading" secondItem="jY6-F5-0CN" secondAttribute="trailing" id="QzZ-IB-cEQ"/>
  116. <constraint firstItem="jY6-F5-0CN" firstAttribute="top" secondItem="4kF-KO-Q0j" secondAttribute="top" id="h7o-Nf-L4J"/>
  117. <constraint firstItem="sfH-r9-sge" firstAttribute="centerY" secondItem="4kF-KO-Q0j" secondAttribute="centerY" id="wEd-no-xqC"/>
  118. </constraints>
  119. <point key="canvasLocation" x="-120.5" y="123"/>
  120. </view>
  121. </objects>
  122. <resources>
  123. <image name="KMImageNameUXIconBtnArrowDown" width="17" height="16"/>
  124. </resources>
  125. </document>