KMImageTitleButton.xib 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22146" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
  3. <dependencies>
  4. <deployment identifier="macosx"/>
  5. <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22146"/>
  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="KMImageTitleButton" customModule="PDF_Master" customModuleProvider="target">
  10. <connections>
  11. <outlet property="contentButton" destination="QWT-7S-lKb" id="m5O-hg-af4"/>
  12. <outlet property="iconImage" destination="4a3-xu-VfF" id="5Y3-vn-hlO"/>
  13. <outlet property="titleLabel" destination="w4c-S9-rac" id="x1i-PW-WrO"/>
  14. </connections>
  15. </customObject>
  16. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  17. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  18. <customView id="c22-O7-iKe">
  19. <rect key="frame" x="0.0" y="0.0" width="304" height="0.0"/>
  20. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  21. <subviews>
  22. <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="4a3-xu-VfF">
  23. <rect key="frame" x="0.0" y="-20" width="14" height="14"/>
  24. <constraints>
  25. <constraint firstAttribute="width" constant="14" id="Wd1-DY-QSw"/>
  26. <constraint firstAttribute="height" constant="14" id="XSH-nn-vvX"/>
  27. </constraints>
  28. <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" id="7zw-oZ-vdx"/>
  29. </imageView>
  30. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="w4c-S9-rac">
  31. <rect key="frame" x="20" y="-16" width="286" height="16"/>
  32. <textFieldCell key="cell" selectable="YES" enabled="NO" id="hxC-IV-2Nn">
  33. <font key="font" metaFont="system"/>
  34. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  35. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  36. </textFieldCell>
  37. </textField>
  38. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="QWT-7S-lKb">
  39. <rect key="frame" x="0.0" y="0.0" width="304" height="0.0"/>
  40. <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" alignment="center" imageScaling="proportionallyDown" inset="2" id="HgM-gk-Pkd">
  41. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  42. <font key="font" metaFont="system"/>
  43. </buttonCell>
  44. <connections>
  45. <action selector="contentButtonAction:" target="-2" id="auf-Px-huE"/>
  46. </connections>
  47. </button>
  48. </subviews>
  49. <constraints>
  50. <constraint firstItem="4a3-xu-VfF" firstAttribute="top" secondItem="c22-O7-iKe" secondAttribute="top" constant="6" id="39J-jh-d2Z"/>
  51. <constraint firstAttribute="trailing" secondItem="w4c-S9-rac" secondAttribute="trailing" id="CoU-De-xNh"/>
  52. <constraint firstItem="w4c-S9-rac" firstAttribute="top" secondItem="c22-O7-iKe" secondAttribute="top" id="MRv-1o-UxJ"/>
  53. <constraint firstItem="QWT-7S-lKb" firstAttribute="leading" secondItem="c22-O7-iKe" secondAttribute="leading" id="Phd-jF-dBX"/>
  54. <constraint firstItem="4a3-xu-VfF" firstAttribute="leading" secondItem="c22-O7-iKe" secondAttribute="leading" id="h5D-Tl-Nxk"/>
  55. <constraint firstAttribute="trailing" secondItem="QWT-7S-lKb" secondAttribute="trailing" id="lB9-UQ-6ya"/>
  56. <constraint firstAttribute="bottom" secondItem="QWT-7S-lKb" secondAttribute="bottom" id="pVM-1P-1z3"/>
  57. <constraint firstItem="w4c-S9-rac" firstAttribute="leading" secondItem="4a3-xu-VfF" secondAttribute="trailing" constant="8" id="qUb-V9-EdI"/>
  58. <constraint firstItem="QWT-7S-lKb" firstAttribute="top" secondItem="c22-O7-iKe" secondAttribute="top" id="ugY-Qp-NUS"/>
  59. </constraints>
  60. <point key="canvasLocation" x="-242" y="-29"/>
  61. </customView>
  62. </objects>
  63. </document>