source: trunk/macosx/AboutWindow.xib

Last change on this file was 14686, checked in by mikedld, 6 years ago

Use autolayout for about and license windows (OS X)

File size: 17.1 KB
Line 
1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="9531" systemVersion="15B42" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
3    <dependencies>
4        <deployment identifier="macosx"/>
5        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="9531"/>
6    </dependencies>
7    <objects>
8        <customObject id="-2" userLabel="File's Owner" customClass="AboutWindowController">
9            <connections>
10                <outlet property="fCopyrightField" destination="9" id="32"/>
11                <outlet property="fLicenseButton" destination="10" id="33"/>
12                <outlet property="fLicenseCloseButton" destination="18" id="34"/>
13                <outlet property="fLicenseSheet" destination="14" id="22"/>
14                <outlet property="fLicenseView" destination="17" id="25"/>
15                <outlet property="fTextView" destination="28" id="29"/>
16                <outlet property="fVersionField" destination="7" id="30"/>
17                <outlet property="window" destination="5" id="21"/>
18            </connections>
19        </customObject>
20        <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
21        <customObject id="-3" userLabel="Application" customClass="NSObject"/>
22        <window allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" restorable="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" id="5" userLabel="AboutWindow" customClass="NSPanel">
23            <windowStyleMask key="styleMask" titled="YES" closable="YES"/>
24            <rect key="contentRect" x="641" y="589" width="538" height="337"/>
25            <rect key="screenRect" x="0.0" y="0.0" width="1440" height="877"/>
26            <view key="contentView" id="6">
27                <rect key="frame" x="0.0" y="0.0" width="538" height="337"/>
28                <autoresizingMask key="autoresizingMask"/>
29                <subviews>
30                    <textField verticalHuggingPriority="750" preferredMaxLayoutWidth="0.0" translatesAutoresizingMaskIntoConstraints="NO" id="13">
31                        <rect key="frame" x="190" y="288" width="158" height="29"/>
32                        <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" sendsActionOnEndEditing="YES" state="on" alignment="left" title="Transmission" id="40">
33                            <font key="font" metaFont="systemBold" size="24"/>
34                            <color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
35                            <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
36                        </textFieldCell>
37                    </textField>
38                    <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="10">
39                        <rect key="frame" x="437" y="13" width="87" height="32"/>
40                        <buttonCell key="cell" type="push" title="License" bezelStyle="rounded" alignment="center" borderStyle="border" inset="2" id="39">
41                            <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
42                            <font key="font" metaFont="system"/>
43                        </buttonCell>
44                        <connections>
45                            <action selector="showLicense:" target="-2" id="19"/>
46                        </connections>
47                    </button>
48                    <textField verticalHuggingPriority="750" preferredMaxLayoutWidth="0.0" translatesAutoresizingMaskIntoConstraints="NO" id="7">
49                        <rect key="frame" x="190" y="263" width="158" height="17"/>
50                        <textFieldCell key="cell" selectable="YES" sendsActionOnEndEditing="YES" alignment="center" title="version info" id="36">
51                            <font key="font" metaFont="system"/>
52                            <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
53                            <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
54                        </textFieldCell>
55                    </textField>
56                    <textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" preferredMaxLayoutWidth="0.0" translatesAutoresizingMaskIntoConstraints="NO" id="9">
57                        <rect key="frame" x="18" y="23" width="77" height="14"/>
58                        <textFieldCell key="cell" selectable="YES" sendsActionOnEndEditing="YES" alignment="left" title="copyright info" id="38">
59                            <font key="font" metaFont="smallSystem"/>
60                            <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
61                            <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
62                        </textFieldCell>
63                    </textField>
64                    <imageView translatesAutoresizingMaskIntoConstraints="NO" id="8">
65                        <rect key="frame" x="126" y="259" width="64" height="64"/>
66                        <constraints>
67                            <constraint firstAttribute="width" constant="64" id="CH5-IT-e0w"/>
68                            <constraint firstAttribute="height" constant="64" id="zV1-YA-Nzk"/>
69                        </constraints>
70                        <imageCell key="cell" refusesFirstResponder="YES" alignment="left" animates="YES" imageScaling="axesIndependently" image="NSApplicationIcon" id="37"/>
71                    </imageView>
72                    <scrollView horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="27">
73                        <rect key="frame" x="-1" y="61" width="540" height="190"/>
74                        <clipView key="contentView" id="lei-nv-7tT">
75                            <rect key="frame" x="1" y="1" width="523" height="188"/>
76                            <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
77                            <subviews>
78                                <textView editable="NO" importsGraphics="NO" horizontallyResizable="YES" verticallyResizable="YES" spellingCorrection="YES" id="28">
79                                    <rect key="frame" x="0.0" y="0.0" width="523" height="188"/>
80                                    <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
81                                    <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
82                                    <size key="minSize" width="523" height="188"/>
83                                    <size key="maxSize" width="10000000" height="10000000"/>
84                                    <color key="insertionPointColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
85                                    <size key="minSize" width="523" height="188"/>
86                                    <size key="maxSize" width="10000000" height="10000000"/>
87                                </textView>
88                            </subviews>
89                            <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
90                        </clipView>
91                        <constraints>
92                            <constraint firstAttribute="height" constant="190" id="FAC-wY-XbF"/>
93                            <constraint firstAttribute="width" constant="540" id="kgD-sx-Isu"/>
94                        </constraints>
95                        <scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" doubleValue="1" horizontal="YES" id="43">
96                            <rect key="frame" x="-100" y="-100" width="87" height="18"/>
97                            <autoresizingMask key="autoresizingMask"/>
98                        </scroller>
99                        <scroller key="verticalScroller" verticalHuggingPriority="750" doubleValue="1" horizontal="NO" id="42">
100                            <rect key="frame" x="524" y="1" width="15" height="188"/>
101                            <autoresizingMask key="autoresizingMask"/>
102                        </scroller>
103                    </scrollView>
104                </subviews>
105                <constraints>
106                    <constraint firstItem="9" firstAttribute="baseline" secondItem="10" secondAttribute="baseline" id="3Uz-hX-HMw"/>
107                    <constraint firstItem="13" firstAttribute="top" secondItem="8" secondAttribute="top" priority="249" constant="5" id="7OP-bL-tHM"/>
108                    <constraint firstItem="13" firstAttribute="leading" secondItem="8" secondAttribute="trailing" constant="2" id="86J-4I-ACT"/>
109                    <constraint firstItem="10" firstAttribute="top" secondItem="27" secondAttribute="bottom" constant="20" symbolic="YES" id="Abq-eG-qpm"/>
110                    <constraint firstItem="13" firstAttribute="top" secondItem="6" secondAttribute="top" constant="20" symbolic="YES" id="D1L-dL-ZY2"/>
111                    <constraint firstAttribute="trailing" secondItem="27" secondAttribute="trailing" constant="-1" id="LVs-Vb-vev"/>
112                    <constraint firstItem="9" firstAttribute="leading" secondItem="6" secondAttribute="leading" constant="20" symbolic="YES" id="LW5-B5-gAQ"/>
113                    <constraint firstItem="7" firstAttribute="top" secondItem="13" secondAttribute="bottom" constant="8" id="OAE-We-Gt8"/>
114                    <constraint firstItem="27" firstAttribute="leading" secondItem="6" secondAttribute="leading" constant="-1" id="SNW-kH-O8I"/>
115                    <constraint firstAttribute="trailing" secondItem="10" secondAttribute="trailing" constant="20" symbolic="YES" id="W9b-lQ-QV8"/>
116                    <constraint firstItem="7" firstAttribute="width" secondItem="13" secondAttribute="width" id="XE6-k1-tmb"/>
117                    <constraint firstAttribute="bottom" secondItem="10" secondAttribute="bottom" constant="20" symbolic="YES" id="aLq-uA-dTt"/>
118                    <constraint firstItem="10" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="9" secondAttribute="trailing" constant="8" symbolic="YES" id="bag-pA-1OG"/>
119                    <constraint firstItem="27" firstAttribute="top" relation="greaterThanOrEqual" secondItem="8" secondAttribute="bottom" constant="8" id="ddl-vi-OzK"/>
120                    <constraint firstItem="13" firstAttribute="centerX" secondItem="6" secondAttribute="centerX" id="g2K-2Y-GMk"/>
121                    <constraint firstItem="13" firstAttribute="leading" secondItem="8" secondAttribute="trailing" constant="2" id="mBU-Yk-Dq7"/>
122                    <constraint firstItem="27" firstAttribute="top" secondItem="7" secondAttribute="bottom" priority="249" constant="12" id="oBX-FY-Qwr"/>
123                    <constraint firstItem="27" firstAttribute="top" relation="greaterThanOrEqual" secondItem="7" secondAttribute="bottom" constant="12" id="obY-BH-gYL"/>
124                    <constraint firstItem="7" firstAttribute="centerX" secondItem="13" secondAttribute="centerX" id="pJ5-UM-bfF"/>
125                </constraints>
126            </view>
127            <connections>
128                <outlet property="delegate" destination="-2" id="26"/>
129            </connections>
130            <point key="canvasLocation" x="100" y="100"/>
131        </window>
132        <window title="Panel" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" restorable="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" id="14" userLabel="LicenseSheet" customClass="NSPanel">
133            <windowStyleMask key="styleMask" titled="YES"/>
134            <rect key="contentRect" x="127" y="188" width="530" height="331"/>
135            <rect key="screenRect" x="0.0" y="0.0" width="1440" height="877"/>
136            <view key="contentView" id="15">
137                <rect key="frame" x="0.0" y="0.0" width="530" height="331"/>
138                <autoresizingMask key="autoresizingMask"/>
139                <subviews>
140                    <scrollView horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="16">
141                        <rect key="frame" x="20" y="61" width="490" height="250"/>
142                        <clipView key="contentView" id="MAJ-Tu-46J">
143                            <rect key="frame" x="1" y="1" width="473" height="248"/>
144                            <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
145                            <subviews>
146                                <textView editable="NO" importsGraphics="NO" horizontallyResizable="YES" verticallyResizable="YES" spellingCorrection="YES" id="17">
147                                    <rect key="frame" x="0.0" y="0.0" width="473" height="248"/>
148                                    <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
149                                    <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
150                                    <size key="minSize" width="473" height="248"/>
151                                    <size key="maxSize" width="10000000" height="10000000"/>
152                                    <color key="insertionPointColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
153                                    <size key="minSize" width="473" height="248"/>
154                                    <size key="maxSize" width="10000000" height="10000000"/>
155                                </textView>
156                            </subviews>
157                            <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
158                        </clipView>
159                        <constraints>
160                            <constraint firstAttribute="width" constant="490" id="32X-kd-Rc9"/>
161                            <constraint firstAttribute="height" constant="250" id="73I-ii-jei"/>
162                        </constraints>
163                        <scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" doubleValue="1" horizontal="YES" id="45">
164                            <rect key="frame" x="-100" y="-100" width="87" height="18"/>
165                            <autoresizingMask key="autoresizingMask"/>
166                        </scroller>
167                        <scroller key="verticalScroller" verticalHuggingPriority="750" horizontal="NO" id="44">
168                            <rect key="frame" x="474" y="1" width="15" height="248"/>
169                            <autoresizingMask key="autoresizingMask"/>
170                        </scroller>
171                    </scrollView>
172                    <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="18">
173                        <rect key="frame" x="424" y="13" width="92" height="32"/>
174                        <constraints>
175                            <constraint firstAttribute="width" relation="greaterThanOrEqual" constant="80" id="kll-37-4sx"/>
176                        </constraints>
177                        <buttonCell key="cell" type="push" title="OK" bezelStyle="rounded" alignment="center" borderStyle="border" inset="2" id="41">
178                            <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
179                            <font key="font" metaFont="system"/>
180                            <string key="keyEquivalent" base64-UTF8="YES">
181DQ
182</string>
183                        </buttonCell>
184                        <connections>
185                            <action selector="hideLicense:" target="-2" id="20"/>
186                        </connections>
187                    </button>
188                </subviews>
189                <constraints>
190                    <constraint firstItem="16" firstAttribute="top" secondItem="15" secondAttribute="top" constant="20" symbolic="YES" id="CGn-Lm-0w0"/>
191                    <constraint firstItem="18" firstAttribute="top" secondItem="16" secondAttribute="bottom" constant="20" symbolic="YES" id="Jmf-Ws-U09"/>
192                    <constraint firstAttribute="trailing" secondItem="18" secondAttribute="trailing" constant="20" symbolic="YES" id="VFM-UA-Gi4"/>
193                    <constraint firstAttribute="bottom" secondItem="18" secondAttribute="bottom" constant="20" symbolic="YES" id="Yg3-ba-qZP"/>
194                    <constraint firstAttribute="trailing" secondItem="16" secondAttribute="trailing" constant="20" symbolic="YES" id="nx6-WD-9dv"/>
195                    <constraint firstItem="16" firstAttribute="leading" secondItem="15" secondAttribute="leading" constant="20" symbolic="YES" id="wci-OK-U1o"/>
196                </constraints>
197            </view>
198            <point key="canvasLocation" x="100" y="100"/>
199        </window>
200    </objects>
201    <resources>
202        <image name="NSApplicationIcon" width="128" height="128"/>
203    </resources>
204</document>
Note: See TracBrowser for help on using the repository browser.