KMToolbarViewController.xib 8.1 KB

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