KMEmailSubWindowController.xib 9.7 KB

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