Skip to content

Commit f256b2b

Browse files
committed
Allow version to be selectable from About Window
Fixes #2801
1 parent f53de2d commit f256b2b

1 file changed

Lines changed: 82 additions & 56 deletions

File tree

GitUp/Application/Base.lproj/AboutWindowController.xib

Lines changed: 82 additions & 56 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="15400" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
2+
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24765" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
33
<dependencies>
44
<deployment identifier="macosx"/>
5-
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="15400"/>
5+
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24765"/>
66
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
77
</dependencies>
88
<objects>
@@ -18,64 +18,90 @@
1818
<window title="About GitUp" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" restorable="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" frameAutosaveName="about" animationBehavior="default" id="sHg-NM-pfN" userLabel="About">
1919
<windowStyleMask key="styleMask" titled="YES" closable="YES"/>
2020
<rect key="contentRect" x="612" y="242" width="276" height="363"/>
21-
<rect key="screenRect" x="0.0" y="0.0" width="1440" height="900"/>
21+
<rect key="screenRect" x="0.0" y="0.0" width="1728" height="1084"/>
2222
<view key="contentView" id="3kP-0M-wu8">
23-
<rect key="frame" x="0.0" y="0.0" width="276" height="363"/>
23+
<rect key="frame" x="0.0" y="0.0" width="276" height="332"/>
2424
<autoresizingMask key="autoresizingMask"/>
2525
<subviews>
26-
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="AhE-7e-PYf">
27-
<rect key="frame" x="74" y="204" width="128" height="128"/>
28-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
29-
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="NSApplicationIcon" id="T7r-iI-qVo"/>
30-
</imageView>
31-
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="IyS-21-Jxl">
32-
<rect key="frame" x="86" y="166" width="104" height="17"/>
33-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
34-
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" allowsUndo="NO" sendsActionOnEndEditing="YES" alignment="center" title="GitUp" id="T8z-Ql-Nrv">
35-
<font key="font" metaFont="systemBold"/>
36-
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
37-
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
38-
</textFieldCell>
39-
</textField>
40-
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="d1d-Xw-Yrr">
41-
<rect key="frame" x="18" y="83" width="240" height="28"/>
42-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
43-
<textFieldCell key="cell" allowsUndo="NO" sendsActionOnEndEditing="YES" alignment="center" id="J3Y-wR-GFR">
44-
<font key="font" metaFont="label" size="11"/>
45-
<string key="title">Concept &amp; code by Pierre-Olivier Latour
46-
UI design by Wayne Fan</string>
47-
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
48-
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
49-
</textFieldCell>
50-
</textField>
51-
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="c4g-uo-jg9">
52-
<rect key="frame" x="26" y="40" width="224" height="28"/>
53-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
54-
<textFieldCell key="cell" allowsUndo="NO" sendsActionOnEndEditing="YES" alignment="center" title="&lt;COPYRIGHT&gt;" id="LbE-vT-Rsk">
55-
<font key="font" metaFont="label" size="11"/>
56-
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
57-
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
58-
</textFieldCell>
59-
</textField>
60-
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="mcm-my-4sq">
61-
<rect key="frame" x="18" y="20" width="240" height="12"/>
62-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
63-
<textFieldCell key="cell" allowsUndo="NO" sendsActionOnEndEditing="YES" alignment="center" title="libgit2 is Copyright © the libgit2 contributors" id="tT8-4H-E7b">
64-
<font key="font" metaFont="menu" size="9"/>
65-
<color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/>
66-
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
67-
</textFieldCell>
68-
</textField>
69-
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="HZC-36-Grr">
70-
<rect key="frame" x="38" y="141" width="200" height="17"/>
71-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
72-
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" allowsUndo="NO" sendsActionOnEndEditing="YES" alignment="center" title="&lt;VERSION&gt;" id="yn6-7n-hPc">
73-
<font key="font" metaFont="system"/>
74-
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
75-
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
76-
</textFieldCell>
77-
</textField>
26+
<stackView distribution="fill" orientation="vertical" alignment="centerX" spacing="13" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Was-JL-8dV">
27+
<rect key="frame" x="20" y="20" width="236" height="292"/>
28+
<subviews>
29+
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="AhE-7e-PYf">
30+
<rect key="frame" x="54" y="164" width="128" height="128"/>
31+
<constraints>
32+
<constraint firstAttribute="height" constant="128" id="Ibq-18-BMj"/>
33+
<constraint firstAttribute="width" constant="128" id="TqZ-uY-L6I"/>
34+
</constraints>
35+
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="NSApplicationIcon" id="T7r-iI-qVo"/>
36+
</imageView>
37+
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="IyS-21-Jxl">
38+
<rect key="frame" x="96" y="135" width="45" height="16"/>
39+
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" allowsUndo="NO" sendsActionOnEndEditing="YES" alignment="center" title="GitUp" id="T8z-Ql-Nrv">
40+
<font key="font" metaFont="systemBold"/>
41+
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
42+
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
43+
</textFieldCell>
44+
</textField>
45+
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="HZC-36-Grr">
46+
<rect key="frame" x="78" y="106" width="81" height="16"/>
47+
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" allowsUndo="NO" sendsActionOnEndEditing="YES" alignment="center" title="&lt;VERSION&gt;" id="yn6-7n-hPc">
48+
<font key="font" metaFont="system"/>
49+
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
50+
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
51+
</textFieldCell>
52+
</textField>
53+
<textField focusRingType="none" horizontalHuggingPriority="249" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="d1d-Xw-Yrr">
54+
<rect key="frame" x="-2" y="51" width="240" height="42"/>
55+
<textFieldCell key="cell" allowsUndo="NO" sendsActionOnEndEditing="YES" alignment="center" id="J3Y-wR-GFR">
56+
<font key="font" metaFont="label" size="11"/>
57+
<string key="title">Concept &amp; code by Pierre-Olivier Latour
58+
UI design by Wayne Fan
59+
Maintained by Lucas Derraugh</string>
60+
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
61+
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
62+
</textFieldCell>
63+
</textField>
64+
<textField focusRingType="none" horizontalHuggingPriority="249" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="c4g-uo-jg9">
65+
<rect key="frame" x="-2" y="24" width="240" height="14"/>
66+
<textFieldCell key="cell" allowsUndo="NO" sendsActionOnEndEditing="YES" alignment="center" title="&lt;COPYRIGHT&gt;" id="LbE-vT-Rsk">
67+
<font key="font" metaFont="label" size="11"/>
68+
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
69+
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
70+
</textFieldCell>
71+
</textField>
72+
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="mcm-my-4sq">
73+
<rect key="frame" x="15" y="0.0" width="207" height="11"/>
74+
<textFieldCell key="cell" allowsUndo="NO" sendsActionOnEndEditing="YES" alignment="center" title="libgit2 is Copyright © the libgit2 contributors" id="tT8-4H-E7b">
75+
<font key="font" metaFont="menu" size="9"/>
76+
<color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/>
77+
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
78+
</textFieldCell>
79+
</textField>
80+
</subviews>
81+
<visibilityPriorities>
82+
<integer value="1000"/>
83+
<integer value="1000"/>
84+
<integer value="1000"/>
85+
<integer value="1000"/>
86+
<integer value="1000"/>
87+
<integer value="1000"/>
88+
</visibilityPriorities>
89+
<customSpacing>
90+
<real value="3.4028234663852886e+38"/>
91+
<real value="3.4028234663852886e+38"/>
92+
<real value="3.4028234663852886e+38"/>
93+
<real value="3.4028234663852886e+38"/>
94+
<real value="3.4028234663852886e+38"/>
95+
<real value="3.4028234663852886e+38"/>
96+
</customSpacing>
97+
</stackView>
7898
</subviews>
99+
<constraints>
100+
<constraint firstAttribute="bottom" secondItem="Was-JL-8dV" secondAttribute="bottom" constant="20" id="Tv7-Is-xqp"/>
101+
<constraint firstItem="Was-JL-8dV" firstAttribute="leading" secondItem="3kP-0M-wu8" secondAttribute="leading" constant="20" id="Xmx-lh-tVx"/>
102+
<constraint firstItem="Was-JL-8dV" firstAttribute="top" secondItem="3kP-0M-wu8" secondAttribute="top" constant="20" id="ajO-2Y-9pf"/>
103+
<constraint firstAttribute="trailing" secondItem="Was-JL-8dV" secondAttribute="trailing" constant="20" id="pDP-nW-asT"/>
104+
</constraints>
79105
</view>
80106
<point key="canvasLocation" x="114" y="441.5"/>
81107
</window>

0 commit comments

Comments
 (0)