KMImageTitleButton.xib 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. <deployment identifier="macosx"/>
  5. <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="21507"/>
  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_Office" 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="36"/>
  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="16" 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 horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="w4c-S9-rac">
  31. <rect key="frame" x="20" y="20" 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" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="QWT-7S-lKb">
  39. <rect key="frame" x="0.0" y="0.0" width="304" height="36"/>
  40. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  41. <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" alignment="center" imageScaling="proportionallyDown" inset="2" id="HgM-gk-Pkd">
  42. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  43. <font key="font" metaFont="system"/>
  44. </buttonCell>
  45. <connections>
  46. <action selector="contentButtonAction:" target="-2" id="auf-Px-huE"/>
  47. </connections>
  48. </button>
  49. </subviews>
  50. <constraints>
  51. <constraint firstItem="4a3-xu-VfF" firstAttribute="top" secondItem="c22-O7-iKe" secondAttribute="top" constant="6" id="39J-jh-d2Z"/>
  52. <constraint firstAttribute="trailing" secondItem="w4c-S9-rac" secondAttribute="trailing" id="CoU-De-xNh"/>
  53. <constraint firstItem="w4c-S9-rac" firstAttribute="top" secondItem="c22-O7-iKe" secondAttribute="top" id="MRv-1o-UxJ"/>
  54. <constraint firstItem="4a3-xu-VfF" firstAttribute="leading" secondItem="c22-O7-iKe" secondAttribute="leading" id="h5D-Tl-Nxk"/>
  55. <constraint firstItem="w4c-S9-rac" firstAttribute="leading" secondItem="4a3-xu-VfF" secondAttribute="trailing" constant="8" id="qUb-V9-EdI"/>
  56. </constraints>
  57. <point key="canvasLocation" x="-242" y="-29"/>
  58. </customView>
  59. </objects>
  60. </document>