AccountMenuItemView.xib 12.3 KB
Newer Older
1
<?xml version="1.0" encoding="UTF-8"?>
2
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
3
    <dependencies>
4
        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14460.31"/>
5
        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
6 7 8 9
    </dependencies>
    <objects>
        <customObject id="-2" userLabel="File's Owner" customClass="AccountMenuItemView">
            <connections>
10
                <outlet property="accountAvatar" destination="XKc-lc-K67" id="Pfu-lm-V66"/>
11
                <outlet property="accountLabel" destination="V91-eS-dUh" id="MNE-TY-RqK"/>
12
                <outlet property="accountStatus" destination="TdK-5g-ddU" id="2V3-LR-C3E"/>
13
                <outlet property="accountTypeLabel" destination="0PP-Di-b7L" id="O6c-L9-jBr"/>
14
                <outlet property="backgroundView" destination="ZIZ-jd-eLK" id="QTx-8z-4zA"/>
15
                <outlet property="containerView" destination="Hz6-mo-xeY" id="t5f-yD-zPi"/>
16 17
                <outlet property="createNewAccount" destination="BkF-b3-tzE" id="fcw-Qc-dRy"/>
                <outlet property="createNewAccountImage" destination="IyH-ia-I3z" id="4uD-jE-Svj"/>
18 19 20 21 22 23
                <outlet property="userNameLabel" destination="tLn-uH-gZ6" id="pGG-sb-IlW"/>
            </connections>
        </customObject>
        <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
        <customObject id="-3" userLabel="Application" customClass="NSObject"/>
        <customView id="Hz6-mo-xeY">
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
24
            <rect key="frame" x="0.0" y="0.0" width="280" height="60"/>
25 26
            <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
            <subviews>
27
                <box boxType="custom" borderType="none" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="ZIZ-jd-eLK">
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
28
                    <rect key="frame" x="0.0" y="0.0" width="280" height="60"/>
29
                    <view key="contentView" id="rZm-2b-CxI">
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
30
                        <rect key="frame" x="0.0" y="0.0" width="280" height="60"/>
31 32 33
                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                    </view>
                    <constraints>
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
34
                        <constraint firstAttribute="width" constant="280" id="Wi8-FI-fcq"/>
35 36 37
                    </constraints>
                    <color key="fillColor" name="controlColor" catalog="System" colorSpace="catalog"/>
                </box>
38
                <button toolTip="Create New Account" horizontalHuggingPriority="750" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="BkF-b3-tzE">
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
39
                    <rect key="frame" x="0.0" y="0.0" width="280" height="60"/>
40
                    <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" imagePosition="overlaps" alignment="center" imageScaling="proportionallyDown" id="lfv-A5-Wu4">
41 42 43 44
                        <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
                        <font key="font" metaFont="system"/>
                    </buttonCell>
                </button>
45
                <textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="V91-eS-dUh">
46
                    <rect key="frame" x="50" y="30" width="44" height="20"/>
47 48 49
                    <constraints>
                        <constraint firstAttribute="height" constant="20" id="VWk-wM-WSB"/>
                    </constraints>
50
                    <textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" alignment="left" title="Label" drawsBackground="YES" id="7sc-IE-yuO">
51 52
                        <font key="font" metaFont="system" size="16"/>
                        <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
53
                        <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
54 55
                    </textFieldCell>
                </textField>
56
                <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" tag="100" translatesAutoresizingMaskIntoConstraints="NO" id="XKc-lc-K67">
57
                    <rect key="frame" x="5" y="10" width="40" height="40"/>
58
                    <constraints>
59 60
                        <constraint firstAttribute="height" constant="40" id="2Pd-xj-eIf"/>
                        <constraint firstAttribute="width" constant="40" id="IEA-OA-uSx"/>
61
                    </constraints>
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
62
                    <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageAlignment="right" imageScaling="proportionallyUpOrDown" id="B0y-e0-cVi"/>
63 64
                </imageView>
                <textField horizontalHuggingPriority="750" verticalHuggingPriority="750" tag="500" translatesAutoresizingMaskIntoConstraints="NO" id="TdK-5g-ddU" userLabel="AccountState" customClass="RoundedTextField">
65
                    <rect key="frame" x="34" y="10" width="13" height="14"/>
66 67 68 69 70 71 72
                    <constraints>
                        <constraint firstAttribute="height" constant="13.5" id="Mj5-H6-ylc"/>
                        <constraint firstAttribute="width" constant="9.5" id="aYl-Xd-vky"/>
                    </constraints>
                    <textFieldCell key="cell" enabled="NO" sendsActionOnEndEditing="YES" alignment="center" id="Fhc-ch-Cek">
                        <font key="font" metaFont="system"/>
                        <color key="textColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
73 74
                        <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
                    </textFieldCell>
75 76
                    <userDefinedRuntimeAttributes>
                        <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
77
                            <color key="value" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
78 79
                        </userDefinedRuntimeAttribute>
                        <userDefinedRuntimeAttribute type="number" keyPath="borderThickness">
80
                            <real key="value" value="1.5"/>
81 82
                        </userDefinedRuntimeAttribute>
                    </userDefinedRuntimeAttributes>
83
                </textField>
84
                <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tLn-uH-gZ6">
85 86
                    <rect key="frame" x="50" y="10" width="35" height="16"/>
                    <textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" alignment="left" title="Label" drawsBackground="YES" id="uPR-fc-nOP">
87 88
                        <font key="font" metaFont="cellTitle"/>
                        <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
89
                        <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
90 91
                    </textFieldCell>
                </textField>
92
                <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="IyH-ia-I3z">
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
93
                    <rect key="frame" x="130" y="20" width="20" height="20"/>
94
                    <constraints>
95 96
                        <constraint firstAttribute="height" constant="20" id="7xp-S1-EWG"/>
                        <constraint firstAttribute="width" constant="20" id="QGs-sS-H6l"/>
97
                    </constraints>
98
                    <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyUpOrDown" image="NSAddTemplate" id="9b9-Jo-NAF"/>
99
                    <color key="contentTintColor" red="1" green="1" blue="1" alpha="0.0" colorSpace="calibratedRGB"/>
100 101
                </imageView>
                <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="0PP-Di-b7L">
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
102
                    <rect key="frame" x="240" y="30" width="35" height="20"/>
103 104 105
                    <constraints>
                        <constraint firstAttribute="height" constant="20" id="8mL-jo-3Kb"/>
                    </constraints>
106
                    <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Label" drawsBackground="YES" id="gOS-aC-TGo">
107 108
                        <font key="font" metaFont="cellTitle"/>
                        <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
109
                        <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
110 111 112 113
                    </textFieldCell>
                </textField>
            </subviews>
            <constraints>
114 115
                <constraint firstAttribute="trailing" secondItem="BkF-b3-tzE" secondAttribute="trailing" id="4zr-zt-tNR"/>
                <constraint firstItem="IyH-ia-I3z" firstAttribute="centerX" secondItem="Hz6-mo-xeY" secondAttribute="centerX" id="6of-Nf-Di4"/>
116
                <constraint firstAttribute="bottom" secondItem="BkF-b3-tzE" secondAttribute="bottom" id="Erj-JK-1Jc"/>
117 118 119 120 121
                <constraint firstAttribute="trailing" secondItem="0PP-Di-b7L" secondAttribute="trailing" constant="5" id="GU6-yw-2Nu"/>
                <constraint firstItem="BkF-b3-tzE" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="M0t-ie-V4X"/>
                <constraint firstItem="TdK-5g-ddU" firstAttribute="trailing" secondItem="XKc-lc-K67" secondAttribute="trailing" id="NU8-DL-jhB"/>
                <constraint firstItem="0PP-Di-b7L" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="tLn-uH-gZ6" secondAttribute="trailing" constant="20" id="Nb4-Z8-9Ul"/>
                <constraint firstItem="TdK-5g-ddU" firstAttribute="bottom" secondItem="XKc-lc-K67" secondAttribute="bottom" id="PGs-u9-1qr"/>
122
                <constraint firstAttribute="bottom" secondItem="tLn-uH-gZ6" secondAttribute="bottom" constant="10" id="QNf-aN-2HB"/>
123 124
                <constraint firstAttribute="bottom" secondItem="ZIZ-jd-eLK" secondAttribute="bottom" id="RRa-dJ-Zbr"/>
                <constraint firstItem="ZIZ-jd-eLK" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="Rl2-Z2-XC6"/>
125 126
                <constraint firstAttribute="bottom" secondItem="XKc-lc-K67" secondAttribute="bottom" constant="10" id="SOc-zB-t6m"/>
                <constraint firstItem="V91-eS-dUh" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" constant="10" id="SQI-pe-c4a"/>
127 128 129 130 131
                <constraint firstItem="XKc-lc-K67" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="5" id="TUF-fx-zE7"/>
                <constraint firstItem="tLn-uH-gZ6" firstAttribute="leading" secondItem="V91-eS-dUh" secondAttribute="leading" id="WcF-NN-pmz"/>
                <constraint firstItem="ZIZ-jd-eLK" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="X9L-7K-HGm"/>
                <constraint firstItem="0PP-Di-b7L" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="V91-eS-dUh" secondAttribute="trailing" constant="20" id="ZH1-rk-GX6"/>
                <constraint firstItem="IyH-ia-I3z" firstAttribute="centerY" secondItem="Hz6-mo-xeY" secondAttribute="centerY" id="hQd-Pw-y4Q"/>
132
                <constraint firstItem="XKc-lc-K67" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" constant="10" id="ipM-Ca-Man"/>
133 134
                <constraint firstAttribute="trailing" secondItem="ZIZ-jd-eLK" secondAttribute="trailing" id="nIe-my-eAj"/>
                <constraint firstItem="V91-eS-dUh" firstAttribute="leading" secondItem="XKc-lc-K67" secondAttribute="trailing" constant="5" id="rBn-Ol-rkr"/>
135
                <constraint firstItem="0PP-Di-b7L" firstAttribute="top" secondItem="V91-eS-dUh" secondAttribute="top" id="yBS-XS-NWz"/>
136
                <constraint firstItem="BkF-b3-tzE" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="yKW-iG-nvv"/>
137 138 139
            </constraints>
        </customView>
    </objects>
140 141 142
    <resources>
        <image name="NSAddTemplate" width="11" height="11"/>
    </resources>
143
</document>