KMEmailSubWindowController.xib 9.6 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. <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="KMEmailSubWindowController">
  10. <connections>
  11. <outlet property="button" destination="j1H-6Z-j1r" id="Onr-Kk-IdF"/>
  12. <outlet property="indicator" destination="OXc-VZ-IYX" id="bLh-eQ-bfa"/>
  13. <outlet property="textField" destination="QzM-R3-GkE" id="hhb-pK-gKm"/>
  14. <outlet property="textLabel" destination="EQe-Yl-Fe6" id="pL9-aq-V6b"/>
  15. <outlet property="window" destination="F0z-JX-Cv5" id="gIp-Ho-8D9"/>
  16. </connections>
  17. </customObject>
  18. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  19. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  20. <window allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" restorable="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="documentWindow" titlebarAppearsTransparent="YES" id="F0z-JX-Cv5">
  21. <windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES"/>
  22. <rect key="contentRect" x="564" y="368" width="360" height="346"/>
  23. <rect key="screenRect" x="0.0" y="0.0" width="1440" height="875"/>
  24. <view key="contentView" id="se5-gp-TjO">
  25. <rect key="frame" x="0.0" y="0.0" width="360" height="346"/>
  26. <autoresizingMask key="autoresizingMask"/>
  27. <subviews>
  28. <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="FyZ-C8-Nhq">
  29. <rect key="frame" x="100" y="202" width="160" height="120"/>
  30. <constraints>
  31. <constraint firstAttribute="height" constant="120" id="lDd-9p-NQk"/>
  32. <constraint firstAttribute="width" constant="160" id="ohU-R1-3bZ"/>
  33. </constraints>
  34. <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="pic_mail" id="YKh-0k-fn0"/>
  35. </imageView>
  36. <textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="EQe-Yl-Fe6">
  37. <rect key="frame" x="71" y="158" width="218" height="36"/>
  38. <textFieldCell key="cell" selectable="YES" alignment="center" title="订阅官方邮件,获取最新产品资讯和优惠信息" id="E0i-Iw-ORx">
  39. <font key="font" metaFont="system" size="14"/>
  40. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  41. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  42. </textFieldCell>
  43. </textField>
  44. <box boxType="custom" cornerRadius="2" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="rJo-6k-ej7">
  45. <rect key="frame" x="24" y="100" width="312" height="36"/>
  46. <view key="contentView" id="c9v-Gs-qEa">
  47. <rect key="frame" x="1" y="1" width="310" height="34"/>
  48. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  49. <subviews>
  50. <textField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="QzM-R3-GkE">
  51. <rect key="frame" x="3" y="8" width="304" height="18"/>
  52. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" focusRingType="none" alignment="center" placeholderString="Enter your email" id="9Kr-ax-gaS">
  53. <font key="font" metaFont="system" size="14"/>
  54. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  55. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  56. </textFieldCell>
  57. </textField>
  58. </subviews>
  59. <constraints>
  60. <constraint firstItem="QzM-R3-GkE" firstAttribute="centerY" secondItem="c9v-Gs-qEa" secondAttribute="centerY" id="8sR-7F-szd"/>
  61. <constraint firstAttribute="trailing" secondItem="QzM-R3-GkE" secondAttribute="trailing" constant="5" id="Za2-Vr-AWu"/>
  62. <constraint firstItem="QzM-R3-GkE" firstAttribute="leading" secondItem="c9v-Gs-qEa" secondAttribute="leading" constant="5" id="u7Y-v2-You"/>
  63. </constraints>
  64. </view>
  65. <constraints>
  66. <constraint firstAttribute="width" constant="312" id="CyZ-7h-UQW"/>
  67. <constraint firstAttribute="height" constant="36" id="hz3-cH-o5H"/>
  68. </constraints>
  69. <color key="borderColor" red="0.1803921568627451" green="0.44705882352941173" blue="0.90196078431372551" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  70. </box>
  71. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="j1H-6Z-j1r">
  72. <rect key="frame" x="24" y="48" width="312" height="36"/>
  73. <constraints>
  74. <constraint firstAttribute="height" constant="36" id="EjD-8I-ief"/>
  75. <constraint firstAttribute="width" constant="312" id="OhP-uo-PQ6"/>
  76. </constraints>
  77. <buttonCell key="cell" type="bevel" title="立即订阅" bezelStyle="rounded" alignment="center" imageScaling="proportionallyDown" inset="2" id="CC9-uK-3rQ">
  78. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  79. <font key="font" metaFont="systemBold"/>
  80. </buttonCell>
  81. <connections>
  82. <action selector="buttonAction:" target="-2" id="l8w-ef-2IN"/>
  83. </connections>
  84. </button>
  85. <progressIndicator hidden="YES" wantsLayer="YES" horizontalHuggingPriority="750" verticalHuggingPriority="750" maxValue="100" bezeled="NO" indeterminate="YES" style="spinning" translatesAutoresizingMaskIntoConstraints="NO" id="OXc-VZ-IYX">
  86. <rect key="frame" x="164" y="157" width="32" height="32"/>
  87. </progressIndicator>
  88. </subviews>
  89. <constraints>
  90. <constraint firstItem="EQe-Yl-Fe6" firstAttribute="top" secondItem="FyZ-C8-Nhq" secondAttribute="bottom" constant="8" id="ALY-6T-YGL"/>
  91. <constraint firstItem="EQe-Yl-Fe6" firstAttribute="leading" secondItem="se5-gp-TjO" secondAttribute="leading" constant="73" id="CVE-pi-U0g"/>
  92. <constraint firstItem="FyZ-C8-Nhq" firstAttribute="centerX" secondItem="se5-gp-TjO" secondAttribute="centerX" id="EWf-21-VUW"/>
  93. <constraint firstItem="rJo-6k-ej7" firstAttribute="centerX" secondItem="se5-gp-TjO" secondAttribute="centerX" id="StS-jz-xac"/>
  94. <constraint firstItem="j1H-6Z-j1r" firstAttribute="top" secondItem="rJo-6k-ej7" secondAttribute="bottom" constant="16" id="VWU-ca-VYv"/>
  95. <constraint firstAttribute="trailing" secondItem="EQe-Yl-Fe6" secondAttribute="trailing" constant="73" id="d9z-jM-pu3"/>
  96. <constraint firstItem="OXc-VZ-IYX" firstAttribute="centerY" secondItem="se5-gp-TjO" secondAttribute="centerY" id="f7U-3N-lvV"/>
  97. <constraint firstItem="rJo-6k-ej7" firstAttribute="top" secondItem="EQe-Yl-Fe6" secondAttribute="bottom" constant="22" id="ikb-xz-Xms"/>
  98. <constraint firstItem="OXc-VZ-IYX" firstAttribute="centerX" secondItem="se5-gp-TjO" secondAttribute="centerX" id="nWU-lI-bKd"/>
  99. <constraint firstItem="FyZ-C8-Nhq" firstAttribute="top" secondItem="se5-gp-TjO" secondAttribute="top" constant="24" id="q6j-p6-2qY"/>
  100. <constraint firstItem="j1H-6Z-j1r" firstAttribute="centerX" secondItem="se5-gp-TjO" secondAttribute="centerX" id="weE-br-hgn"/>
  101. </constraints>
  102. </view>
  103. <connections>
  104. <outlet property="delegate" destination="-2" id="0bl-1N-AYu"/>
  105. </connections>
  106. <point key="canvasLocation" x="121" y="179"/>
  107. </window>
  108. </objects>
  109. <resources>
  110. <image name="pic_mail" width="160" height="120"/>
  111. </resources>
  112. </document>