ComponentButton.xib 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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" customClass="ComponentButton" customModule="KMComponentLibrary" customModuleProvider="target">
  10. <connections>
  11. <outlet property="contendBox" destination="9NN-PM-HfC" id="63j-mF-bgf"/>
  12. <outlet property="label" destination="5zb-R4-lFE" id="MSr-vn-Hba"/>
  13. <outlet property="leftIcon" destination="eod-1a-vcr" id="aic-vO-GGr"/>
  14. <outlet property="leftImgLeftConst" destination="Qbt-tQ-q6J" id="sbJ-1w-jDb"/>
  15. <outlet property="leftImgWidthConst" destination="Jru-ch-BtO" id="AcY-K4-hUm"/>
  16. <outlet property="rightIcon" destination="JuI-wo-ih4" id="IgS-4S-Xm5"/>
  17. <outlet property="rightImgRightConst" destination="CqF-CZ-hiL" id="uup-tY-tOw"/>
  18. <outlet property="rightImgWidthConst" destination="KX2-vf-tRn" id="ZhJ-Jo-Kxe"/>
  19. </connections>
  20. </customObject>
  21. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  22. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  23. <customView id="c22-O7-iKe">
  24. <rect key="frame" x="0.0" y="0.0" width="205" height="56"/>
  25. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  26. <subviews>
  27. <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="9NN-PM-HfC">
  28. <rect key="frame" x="0.0" y="0.0" width="205" height="56"/>
  29. <view key="contentView" id="EFI-YK-cfg">
  30. <rect key="frame" x="0.0" y="0.0" width="205" height="56"/>
  31. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  32. </view>
  33. </box>
  34. <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="eod-1a-vcr">
  35. <rect key="frame" x="24" y="18" width="20" height="20"/>
  36. <constraints>
  37. <constraint firstAttribute="width" constant="20" id="Jru-ch-BtO"/>
  38. <constraint firstAttribute="width" secondItem="eod-1a-vcr" secondAttribute="height" multiplier="1:1" id="gXp-0k-kkn"/>
  39. </constraints>
  40. <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="axesIndependently" id="dzc-OM-GnR"/>
  41. </imageView>
  42. <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="JuI-wo-ih4">
  43. <rect key="frame" x="161" y="18" width="20" height="20"/>
  44. <constraints>
  45. <constraint firstAttribute="width" constant="20" id="KX2-vf-tRn"/>
  46. <constraint firstAttribute="width" secondItem="JuI-wo-ih4" secondAttribute="height" multiplier="1:1" id="PIs-pl-1Qy"/>
  47. </constraints>
  48. <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" id="Atk-fi-JdD"/>
  49. </imageView>
  50. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="5zb-R4-lFE">
  51. <rect key="frame" x="57" y="11" width="91" height="35"/>
  52. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  53. <textFieldCell key="cell" lineBreakMode="truncatingTail" alignment="center" id="O6J-0X-hk1">
  54. <font key="font" metaFont="system"/>
  55. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  56. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  57. </textFieldCell>
  58. </textField>
  59. </subviews>
  60. <constraints>
  61. <constraint firstAttribute="trailing" secondItem="JuI-wo-ih4" secondAttribute="trailing" constant="24" id="CqF-CZ-hiL"/>
  62. <constraint firstItem="eod-1a-vcr" firstAttribute="leading" secondItem="c22-O7-iKe" secondAttribute="leading" constant="24" id="Qbt-tQ-q6J"/>
  63. <constraint firstItem="eod-1a-vcr" firstAttribute="centerY" secondItem="c22-O7-iKe" secondAttribute="centerY" id="Rtp-kz-sPi"/>
  64. <constraint firstAttribute="bottom" secondItem="9NN-PM-HfC" secondAttribute="bottom" id="SOi-6E-5su"/>
  65. <constraint firstItem="9NN-PM-HfC" firstAttribute="top" secondItem="c22-O7-iKe" secondAttribute="top" id="Uns-EU-3Qb"/>
  66. <constraint firstAttribute="trailing" secondItem="9NN-PM-HfC" secondAttribute="trailing" id="Zyh-nN-uM7"/>
  67. <constraint firstItem="JuI-wo-ih4" firstAttribute="centerY" secondItem="c22-O7-iKe" secondAttribute="centerY" id="qW8-mo-ugR"/>
  68. <constraint firstItem="9NN-PM-HfC" firstAttribute="leading" secondItem="c22-O7-iKe" secondAttribute="leading" id="qzf-5c-dkO"/>
  69. </constraints>
  70. <connections>
  71. <outlet property="contendBox" destination="9NN-PM-HfC" id="tyx-bx-q1p"/>
  72. <outlet property="label" destination="5zb-R4-lFE" id="WbM-1W-MdN"/>
  73. <outlet property="rightIcon" destination="JuI-wo-ih4" id="r7s-76-Zfg"/>
  74. </connections>
  75. <point key="canvasLocation" x="-52.5" y="228"/>
  76. </customView>
  77. </objects>
  78. </document>