aka RedditBar, Mac OS X menu bar reddit client
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Prefs.xib 21KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="4514" systemVersion="13A603" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
  3. <dependencies>
  4. <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="4514"/>
  5. </dependencies>
  6. <objects>
  7. <customObject id="-2" userLabel="File's Owner" customClass="PrefController">
  8. <connections>
  9. <outlet property="lengthField" destination="MAv-jO-hIv" id="tbQ-UG-2ew"/>
  10. <outlet property="lengthFormat" destination="zpc-oG-upp" id="AKk-rK-pM3"/>
  11. <outlet property="lengthStepper" destination="jxz-fQ-M1L" id="NK5-G4-9UJ"/>
  12. <outlet property="password" destination="ARP-lb-J16" id="EDd-om-ciF"/>
  13. <outlet property="subreddits" destination="EhP-FS-8dT" id="td1-kv-jQm"/>
  14. <outlet property="subscriptions" destination="vW5-Cp-Bm1" id="gja-K0-7Uh"/>
  15. <outlet property="username" destination="0mi-88-o94" id="4bB-K2-q5m"/>
  16. <outlet property="win" destination="1" id="g0G-6q-WjE"/>
  17. </connections>
  18. </customObject>
  19. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  20. <customObject id="-3" userLabel="Application"/>
  21. <window title="Reddit Bar Preferences" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" restorable="NO" oneShot="NO" releasedWhenClosed="NO" wantsToBeColor="NO" animationBehavior="default" id="1">
  22. <windowStyleMask key="styleMask" titled="YES" closable="YES"/>
  23. <windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
  24. <rect key="contentRect" x="196" y="240" width="340" height="339"/>
  25. <rect key="screenRect" x="0.0" y="0.0" width="1920" height="1058"/>
  26. <view key="contentView" id="2">
  27. <rect key="frame" x="0.0" y="0.0" width="340" height="339"/>
  28. <autoresizingMask key="autoresizingMask"/>
  29. <subviews>
  30. <textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="0mi-88-o94">
  31. <rect key="frame" x="120" y="299" width="200" height="22"/>
  32. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  33. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="xlI-hU-MqM">
  34. <font key="font" metaFont="system"/>
  35. <color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
  36. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  37. </textFieldCell>
  38. </textField>
  39. <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="f72-fM-yQc">
  40. <rect key="frame" x="18" y="302" width="96" height="17"/>
  41. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  42. <constraints>
  43. <constraint firstAttribute="width" constant="92" id="NaA-TF-vqk"/>
  44. </constraints>
  45. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Username: " id="GTO-OP-MYS">
  46. <font key="font" metaFont="system"/>
  47. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  48. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  49. </textFieldCell>
  50. </textField>
  51. <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="JMQ-a6-DKC">
  52. <rect key="frame" x="18" y="270" width="96" height="17"/>
  53. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  54. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Password:" id="m11-YF-fEa">
  55. <font key="font" metaFont="system"/>
  56. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  57. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  58. </textFieldCell>
  59. </textField>
  60. <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="qFP-pd-32c">
  61. <rect key="frame" x="6" y="52" width="96" height="17"/>
  62. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  63. <constraints>
  64. <constraint firstAttribute="width" constant="92" id="y5l-ux-awZ"/>
  65. </constraints>
  66. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Items:" id="FNJ-RL-DXT">
  67. <font key="font" metaFont="system"/>
  68. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  69. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  70. </textFieldCell>
  71. </textField>
  72. <secureTextField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ARP-lb-J16">
  73. <rect key="frame" x="120" y="267" width="200" height="22"/>
  74. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  75. <secureTextFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" drawsBackground="YES" usesSingleLineMode="YES" id="We7-pG-rAt">
  76. <font key="font" metaFont="system"/>
  77. <color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
  78. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  79. <allowedInputSourceLocales>
  80. <string>NSAllRomanInputSourcesLocaleIdentifier</string>
  81. </allowedInputSourceLocales>
  82. </secureTextFieldCell>
  83. </secureTextField>
  84. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="qwZ-cF-1JN">
  85. <rect key="frame" x="224" y="13" width="102" height="32"/>
  86. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  87. <constraints>
  88. <constraint firstAttribute="width" constant="90" id="6O3-yW-gA0"/>
  89. </constraints>
  90. <buttonCell key="cell" type="push" title="Save" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="Mqa-FJ-C43">
  91. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  92. <font key="font" metaFont="system"/>
  93. </buttonCell>
  94. <connections>
  95. <action selector="buttonSave:" target="-2" id="thy-nQ-Nld"/>
  96. </connections>
  97. </button>
  98. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="vO2-NN-i1n">
  99. <rect key="frame" x="14" y="13" width="102" height="32"/>
  100. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  101. <constraints>
  102. <constraint firstAttribute="width" constant="90" id="ZXJ-Cb-INd"/>
  103. </constraints>
  104. <buttonCell key="cell" type="push" title="Cancel" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="TjO-Z6-Vng">
  105. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  106. <font key="font" metaFont="system"/>
  107. <string key="keyEquivalent" base64-UTF8="YES">
  108. Gw
  109. </string>
  110. </buttonCell>
  111. <connections>
  112. <action selector="performClose:" target="1" id="A62-EW-ZrT"/>
  113. </connections>
  114. </button>
  115. <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="R9P-ZH-hHZ">
  116. <rect key="frame" x="18" y="235" width="96" height="17"/>
  117. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  118. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Subreddits:" id="Cmr-7n-CaG">
  119. <font key="font" metaFont="system"/>
  120. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  121. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  122. </textFieldCell>
  123. </textField>
  124. <scrollView horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8ew-wY-1Yh">
  125. <rect key="frame" x="20" y="77" width="300" height="150"/>
  126. <autoresizingMask key="autoresizingMask"/>
  127. <clipView key="contentView" copiesOnScroll="NO" id="ENU-Jw-8fO">
  128. <rect key="frame" x="1" y="1" width="298" height="148"/>
  129. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  130. <subviews>
  131. <textView editable="NO" importsGraphics="NO" richText="NO" findStyle="panel" allowsUndo="YES" verticallyResizable="YES" allowsNonContiguousLayout="YES" id="EhP-FS-8dT">
  132. <rect key="frame" x="0.0" y="0.0" width="298" height="148"/>
  133. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  134. <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  135. <size key="minSize" width="298" height="148"/>
  136. <size key="maxSize" width="463" height="10000000"/>
  137. <color key="insertionPointColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
  138. <size key="minSize" width="298" height="148"/>
  139. <size key="maxSize" width="463" height="10000000"/>
  140. </textView>
  141. </subviews>
  142. <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  143. </clipView>
  144. <scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" doubleValue="1" horizontal="YES" id="b1U-AL-HNy">
  145. <rect key="frame" x="-100" y="-100" width="87" height="18"/>
  146. <autoresizingMask key="autoresizingMask"/>
  147. </scroller>
  148. <scroller key="verticalScroller" verticalHuggingPriority="750" doubleValue="1" horizontal="NO" id="z7j-r6-B6f">
  149. <rect key="frame" x="283" y="1" width="16" height="148"/>
  150. <autoresizingMask key="autoresizingMask"/>
  151. </scroller>
  152. </scrollView>
  153. <button translatesAutoresizingMaskIntoConstraints="NO" id="XZM-90-hQ8">
  154. <rect key="frame" x="118" y="234" width="204" height="18"/>
  155. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  156. <buttonCell key="cell" type="check" title="Subscriptions" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="vW5-Cp-Bm1">
  157. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  158. <font key="font" metaFont="system"/>
  159. </buttonCell>
  160. <connections>
  161. <action selector="toggleSubs:" target="-2" id="TPd-6W-xQv"/>
  162. </connections>
  163. </button>
  164. <textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="MAv-jO-hIv">
  165. <rect key="frame" x="120" y="49" width="96" height="22"/>
  166. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  167. <constraints>
  168. <constraint firstAttribute="width" constant="96" id="Q7V-Gm-EfI"/>
  169. </constraints>
  170. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" alignment="right" title="10" drawsBackground="YES" id="0SD-Tf-uZS">
  171. <font key="font" metaFont="system"/>
  172. <color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
  173. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  174. </textFieldCell>
  175. <connections>
  176. <action selector="lengthDidChange:" target="-2" id="fU0-l2-dIz"/>
  177. <outlet property="formatter" destination="zpc-oG-upp" id="cw1-hM-34K"/>
  178. </connections>
  179. </textField>
  180. <stepper horizontalHuggingPriority="750" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="jxz-fQ-M1L">
  181. <rect key="frame" x="221" y="46" width="19" height="27"/>
  182. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  183. <stepperCell key="cell" continuous="YES" alignment="left" maxValue="100" id="Gba-jV-Ouh"/>
  184. <connections>
  185. <action selector="lengthDidChange:" target="-2" id="CJm-58-seM"/>
  186. </connections>
  187. </stepper>
  188. </subviews>
  189. <constraints>
  190. <constraint firstItem="f72-fM-yQc" firstAttribute="top" secondItem="2" secondAttribute="top" constant="20" symbolic="YES" id="29D-Aw-Hsq"/>
  191. <constraint firstItem="R9P-ZH-hHZ" firstAttribute="leading" secondItem="JMQ-a6-DKC" secondAttribute="leading" id="37a-j4-cea"/>
  192. <constraint firstItem="qFP-pd-32c" firstAttribute="centerY" secondItem="jxz-fQ-M1L" secondAttribute="centerY" id="7Cf-YA-CG9"/>
  193. <constraint firstItem="XZM-90-hQ8" firstAttribute="trailing" secondItem="ARP-lb-J16" secondAttribute="trailing" id="7Na-cW-VbT"/>
  194. <constraint firstItem="8ew-wY-1Yh" firstAttribute="trailing" secondItem="XZM-90-hQ8" secondAttribute="trailing" id="7bq-Le-SlA"/>
  195. <constraint firstItem="qFP-pd-32c" firstAttribute="top" secondItem="8ew-wY-1Yh" secondAttribute="bottom" constant="8" symbolic="YES" id="7uB-Kt-r8c"/>
  196. <constraint firstItem="ARP-lb-J16" firstAttribute="leading" secondItem="JMQ-a6-DKC" secondAttribute="trailing" constant="8" symbolic="YES" id="ANm-KU-ah0"/>
  197. <constraint firstItem="qFP-pd-32c" firstAttribute="centerY" secondItem="MAv-jO-hIv" secondAttribute="centerY" id="C6t-id-Y7F"/>
  198. <constraint firstItem="0mi-88-o94" firstAttribute="leading" secondItem="f72-fM-yQc" secondAttribute="trailing" constant="8" symbolic="YES" id="DeX-3f-5VX"/>
  199. <constraint firstItem="R9P-ZH-hHZ" firstAttribute="baseline" secondItem="XZM-90-hQ8" secondAttribute="baseline" id="Dyr-Lq-Ctl"/>
  200. <constraint firstItem="vO2-NN-i1n" firstAttribute="baseline" secondItem="qwZ-cF-1JN" secondAttribute="baseline" id="Ess-AZ-MVK"/>
  201. <constraint firstItem="R9P-ZH-hHZ" firstAttribute="leading" secondItem="8ew-wY-1Yh" secondAttribute="leading" id="G3T-Ry-7uZ"/>
  202. <constraint firstItem="vO2-NN-i1n" firstAttribute="leading" secondItem="8ew-wY-1Yh" secondAttribute="leading" id="IsT-wH-jxK"/>
  203. <constraint firstAttribute="trailing" secondItem="0mi-88-o94" secondAttribute="trailing" constant="20" symbolic="YES" id="LZn-1N-eno"/>
  204. <constraint firstItem="f72-fM-yQc" firstAttribute="centerY" secondItem="0mi-88-o94" secondAttribute="centerY" id="LfD-Yu-zn8"/>
  205. <constraint firstItem="ARP-lb-J16" firstAttribute="leading" secondItem="0mi-88-o94" secondAttribute="leading" id="OYT-lx-Poi"/>
  206. <constraint firstItem="f72-fM-yQc" firstAttribute="leading" secondItem="2" secondAttribute="leading" constant="20" symbolic="YES" id="OiS-Rj-NBY"/>
  207. <constraint firstItem="XZM-90-hQ8" firstAttribute="leading" secondItem="R9P-ZH-hHZ" secondAttribute="trailing" constant="8" symbolic="YES" id="VL7-JL-apE"/>
  208. <constraint firstItem="vO2-NN-i1n" firstAttribute="top" secondItem="qFP-pd-32c" secondAttribute="bottom" constant="11" id="VdU-PT-I2v"/>
  209. <constraint firstItem="ARP-lb-J16" firstAttribute="leading" secondItem="XZM-90-hQ8" secondAttribute="leading" id="Vre-Lj-q0h"/>
  210. <constraint firstItem="jxz-fQ-M1L" firstAttribute="leading" secondItem="MAv-jO-hIv" secondAttribute="trailing" constant="8" symbolic="YES" id="Zpj-hy-F01"/>
  211. <constraint firstItem="ARP-lb-J16" firstAttribute="top" secondItem="0mi-88-o94" secondAttribute="bottom" constant="10" symbolic="YES" id="bI0-EE-Uau"/>
  212. <constraint firstItem="qFP-pd-32c" firstAttribute="leading" secondItem="2" secondAttribute="leading" constant="8" id="cqi-Wn-sxQ"/>
  213. <constraint firstItem="f72-fM-yQc" firstAttribute="leading" secondItem="JMQ-a6-DKC" secondAttribute="leading" id="fRq-oc-Xhi"/>
  214. <constraint firstItem="8ew-wY-1Yh" firstAttribute="top" secondItem="R9P-ZH-hHZ" secondAttribute="bottom" constant="8" symbolic="YES" id="fxf-FX-XZd"/>
  215. <constraint firstItem="8ew-wY-1Yh" firstAttribute="trailing" secondItem="qwZ-cF-1JN" secondAttribute="trailing" id="gAk-07-mMq"/>
  216. <constraint firstItem="MAv-jO-hIv" firstAttribute="leading" secondItem="qFP-pd-32c" secondAttribute="trailing" constant="20" id="hJP-mL-zrr"/>
  217. <constraint firstItem="XZM-90-hQ8" firstAttribute="top" secondItem="ARP-lb-J16" secondAttribute="bottom" constant="17" id="hf0-Vf-fvN"/>
  218. <constraint firstItem="JMQ-a6-DKC" firstAttribute="centerY" secondItem="ARP-lb-J16" secondAttribute="centerY" id="pYP-d0-eKw"/>
  219. <constraint firstItem="0mi-88-o94" firstAttribute="trailing" secondItem="ARP-lb-J16" secondAttribute="trailing" id="qtc-EY-7HS"/>
  220. <constraint firstAttribute="bottom" secondItem="vO2-NN-i1n" secondAttribute="bottom" constant="20" symbolic="YES" id="ynT-D2-t44"/>
  221. </constraints>
  222. </view>
  223. </window>
  224. <numberFormatter formatterBehavior="10_0" positiveFormat="0" negativeFormat="-0" hasThousandSeparators="NO" thousandSeparator="," id="zpc-oG-upp">
  225. <attributedString key="attributedStringForZero">
  226. <fragment content="0"/>
  227. </attributedString>
  228. <real key="minimum" value="0.0"/>
  229. <real key="maximum" value="100"/>
  230. <metadata>
  231. <bool key="localizesFormat" value="YES"/>
  232. <real key="inspectorSampleValue" value="1"/>
  233. </metadata>
  234. </numberFormatter>
  235. </objects>
  236. </document>