Skip to content

Commit 5af2d8b

Browse files
committed
style: No longer using thin fonts
1 parent 7fc27df commit 5af2d8b

File tree

2 files changed

+31
-31
lines changed

2 files changed

+31
-31
lines changed

GitHubUpdates/Interface/Base.lproj/GitHubInstallWindowController.xib

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="15705" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
2+
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="32700.99.1234" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
33
<dependencies>
44
<deployment identifier="macosx"/>
5-
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="15705"/>
5+
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22690"/>
66
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
77
</dependencies>
88
<objects>
@@ -18,7 +18,7 @@
1818
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" fullSizeContentView="YES"/>
1919
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
2020
<rect key="contentRect" x="196" y="240" width="524" height="400"/>
21-
<rect key="screenRect" x="0.0" y="0.0" width="1920" height="1177"/>
21+
<rect key="screenRect" x="0.0" y="0.0" width="3008" height="1228"/>
2222
<view key="contentView" wantsLayer="YES" id="EiT-Mj-1SZ">
2323
<rect key="frame" x="0.0" y="0.0" width="524" height="400"/>
2424
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
@@ -27,34 +27,34 @@
2727
<rect key="frame" x="0.0" y="0.0" width="524" height="400"/>
2828
<subviews>
2929
<customView translatesAutoresizingMaskIntoConstraints="NO" id="eZq-FA-T9p">
30-
<rect key="frame" x="0.0" y="293" width="524" height="107"/>
30+
<rect key="frame" x="0.0" y="292" width="524" height="108"/>
3131
<subviews>
3232
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="6Ah-Oa-rex">
3333
<rect key="frame" x="20" y="22" width="64" height="64"/>
3434
<constraints>
3535
<constraint firstAttribute="width" constant="64" id="MIq-Wl-zGD"/>
3636
<constraint firstAttribute="height" constant="64" id="Pts-px-Nry"/>
3737
</constraints>
38-
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="NSApplicationIcon" id="Fni-mL-ixq"/>
38+
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyUpOrDown" image="NSApplicationIcon" id="Fni-mL-ixq"/>
3939
</imageView>
40-
<textField horizontalHuggingPriority="1000" verticalHuggingPriority="751" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="7bl-3a-uy2">
41-
<rect key="frame" x="102" y="44" width="404" height="23"/>
40+
<textField focusRingType="none" horizontalHuggingPriority="1000" verticalHuggingPriority="751" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="7bl-3a-uy2">
41+
<rect key="frame" x="102" y="44" width="404" height="24"/>
4242
<constraints>
4343
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="400" id="6Zk-Te-uBU"/>
4444
</constraints>
4545
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" title="Label" id="fNd-wh-IDG">
46-
<font key="font" metaFont="systemThin" size="20"/>
46+
<font key="font" metaFont="system" size="20"/>
4747
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
4848
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
4949
</textFieldCell>
5050
<connections>
5151
<binding destination="-2" name="value" keyPath="title" id="j7A-Ks-bBD"/>
5252
</connections>
5353
</textField>
54-
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="uNJ-FL-Do3">
54+
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="uNJ-FL-Do3">
5555
<rect key="frame" x="102" y="20" width="404" height="16"/>
5656
<textFieldCell key="cell" sendsActionOnEndEditing="YES" title="Multiline Label" id="MC3-ae-g9b">
57-
<font key="font" metaFont="systemThin" size="13"/>
57+
<font key="font" metaFont="system"/>
5858
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
5959
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
6060
</textFieldCell>
@@ -76,10 +76,10 @@
7676
<constraint firstItem="6Ah-Oa-rex" firstAttribute="centerY" secondItem="eZq-FA-T9p" secondAttribute="centerY" id="qyB-Is-uRw"/>
7777
</constraints>
7878
</customView>
79-
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="cfX-7P-pXm">
80-
<rect key="frame" x="18" y="269" width="90" height="16"/>
79+
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="cfX-7P-pXm">
80+
<rect key="frame" x="18" y="268" width="93" height="16"/>
8181
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Release notes:" id="NLq-HZ-LlN">
82-
<font key="font" metaFont="systemThin" size="13"/>
82+
<font key="font" metaFont="system"/>
8383
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
8484
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
8585
</textFieldCell>
@@ -88,7 +88,7 @@
8888
</connections>
8989
</textField>
9090
<scrollView horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ecd-7z-J9V">
91-
<rect key="frame" x="20" y="61" width="484" height="200"/>
91+
<rect key="frame" x="20" y="60" width="484" height="200"/>
9292
<clipView key="contentView" drawsBackground="NO" id="w9f-vR-Fgx">
9393
<rect key="frame" x="1" y="1" width="482" height="198"/>
9494
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
@@ -124,8 +124,8 @@
124124
<outlet property="nextKeyView" destination="vf3-XW-XGk" id="VtB-Bl-BLY"/>
125125
</connections>
126126
</scrollView>
127-
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="vf3-XW-XGk">
128-
<rect key="frame" x="14" y="13" width="82" height="32"/>
127+
<button wantsLayer="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="vf3-XW-XGk">
128+
<rect key="frame" x="13" y="13" width="76" height="32"/>
129129
<buttonCell key="cell" type="push" title="Cancel" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="Q2g-mU-a3g">
130130
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
131131
<font key="font" metaFont="system"/>
@@ -138,8 +138,8 @@ Gw
138138
<outlet property="nextKeyView" destination="667-fT-iYM" id="WGQ-It-DSK"/>
139139
</connections>
140140
</button>
141-
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="667-fT-iYM">
142-
<rect key="frame" x="249" y="13" width="155" height="32"/>
141+
<button wantsLayer="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="667-fT-iYM">
142+
<rect key="frame" x="271" y="13" width="145" height="32"/>
143143
<buttonCell key="cell" type="push" title="View on GitHub" bezelStyle="rounded" image="GitHubTemplate" imagePosition="left" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="eAm-HI-FOi">
144144
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
145145
<font key="font" metaFont="system"/>
@@ -154,8 +154,8 @@ Gw
154154
<outlet property="nextKeyView" destination="oso-pp-txM" id="cze-Zb-V0W"/>
155155
</connections>
156156
</button>
157-
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="oso-pp-txM">
158-
<rect key="frame" x="404" y="13" width="96" height="32"/>
157+
<button wantsLayer="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="oso-pp-txM">
158+
<rect key="frame" x="414" y="13" width="87" height="32"/>
159159
<buttonCell key="cell" type="push" title="Install" bezelStyle="rounded" image="NSFollowLinkFreestandingTemplate" imagePosition="left" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="DD4-qi-VFA">
160160
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
161161
<font key="font" metaFont="system"/>
@@ -206,6 +206,6 @@ DQ
206206
<resources>
207207
<image name="GitHubTemplate" width="15" height="15"/>
208208
<image name="NSApplicationIcon" width="32" height="32"/>
209-
<image name="NSFollowLinkFreestandingTemplate" width="14" height="14"/>
209+
<image name="NSFollowLinkFreestandingTemplate" width="20" height="20"/>
210210
</resources>
211211
</document>

GitHubUpdates/Interface/Base.lproj/GitHubProgressWindowController.xib

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="15705" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
2+
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="32700.99.1234" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
33
<dependencies>
44
<deployment identifier="macosx"/>
5-
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="15705"/>
5+
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22690"/>
66
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
77
</dependencies>
88
<objects>
@@ -17,7 +17,7 @@
1717
<windowStyleMask key="styleMask" titled="YES" miniaturizable="YES" fullSizeContentView="YES"/>
1818
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
1919
<rect key="contentRect" x="196" y="240" width="524" height="132"/>
20-
<rect key="screenRect" x="0.0" y="0.0" width="1920" height="1177"/>
20+
<rect key="screenRect" x="0.0" y="0.0" width="3008" height="1228"/>
2121
<view key="contentView" wantsLayer="YES" id="EiT-Mj-1SZ">
2222
<rect key="frame" x="0.0" y="0.0" width="524" height="132"/>
2323
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
@@ -33,10 +33,10 @@
3333
</constraints>
3434
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyUpOrDown" image="NSApplicationIcon" id="WHq-i2-PZM"/>
3535
</imageView>
36-
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ZSi-QG-2rO">
36+
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ZSi-QG-2rO">
3737
<rect key="frame" x="102" y="76" width="404" height="16"/>
3838
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Label" id="8mt-rF-t8N">
39-
<font key="font" metaFont="systemThin" size="13"/>
39+
<font key="font" metaFont="system"/>
4040
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
4141
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
4242
</textFieldCell>
@@ -45,7 +45,7 @@
4545
</connections>
4646
</textField>
4747
<progressIndicator wantsLayer="YES" maxValue="100" indeterminate="YES" style="bar" translatesAutoresizingMaskIntoConstraints="NO" id="aQh-ny-1E8">
48-
<rect key="frame" x="104" y="48" width="400" height="21"/>
48+
<rect key="frame" x="104" y="47" width="400" height="22"/>
4949
<constraints>
5050
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="400" id="WMk-eJ-Zz9"/>
5151
</constraints>
@@ -61,8 +61,8 @@
6161
</binding>
6262
</connections>
6363
</progressIndicator>
64-
<textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="WeZ-2H-nwA">
65-
<rect key="frame" x="102" y="24" width="326" height="14"/>
64+
<textField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="WeZ-2H-nwA">
65+
<rect key="frame" x="102" y="23" width="334" height="14"/>
6666
<textFieldCell key="cell" controlSize="small" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" title="Label" id="Smc-q1-VJ6">
6767
<font key="font" metaFont="menu" size="11"/>
6868
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
@@ -72,8 +72,8 @@
7272
<binding destination="-2" name="value" keyPath="message" id="XWj-rn-w7I"/>
7373
</connections>
7474
</textField>
75-
<button horizontalHuggingPriority="1000" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="bw1-4s-nak">
76-
<rect key="frame" x="428" y="13" width="82" height="32"/>
75+
<button wantsLayer="YES" horizontalHuggingPriority="1000" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="bw1-4s-nak">
76+
<rect key="frame" x="435" y="13" width="76" height="32"/>
7777
<buttonCell key="cell" type="push" title="Cancel" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="lKW-zk-Q1s">
7878
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
7979
<font key="font" metaFont="system"/>

0 commit comments

Comments
 (0)