Skip to content

Commit 3eaab1c

Browse files
committed
kit: advanced commit view controller xib search text field has been added.
1 parent 5afa765 commit 3eaab1c

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

GitUpKit/Views/Base.lproj/GIAdvancedCommitViewController.xib

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<outlet property="indexHeaderView" destination="0zR-9s-ty2" id="BLn-7k-Ti2"/>
1717
<outlet property="infoTextField" destination="H0U-9x-3Cl" id="xIS-An-utS"/>
1818
<outlet property="messageTextView" destination="ZGk-oR-MNP" id="bmf-B6-urc"/>
19+
<outlet property="searchTextField" destination="rXa-ct-fRp" id="TLE-I1-vQt"/>
1920
<outlet property="stageButton" destination="nf2-5l-LHg" id="Y5g-wM-FRo"/>
2021
<outlet property="unstageButton" destination="0n6-Tx-H9g" id="RRF-VA-co7"/>
2122
<outlet property="view" destination="Mge-gB-T5T" id="Dk7-8C-xIa"/>
@@ -123,9 +124,29 @@
123124
</subviews>
124125
</customView>
125126
<customView fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="SLl-qM-6U5">
126-
<rect key="frame" x="0.0" y="0.0" width="300" height="168"/>
127+
<rect key="frame" x="0.0" y="26" width="300" height="142"/>
127128
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
128129
</customView>
130+
<customView id="4rD-aM-CGa">
131+
<rect key="frame" x="0.0" y="0.0" width="300" height="27"/>
132+
<autoresizingMask key="autoresizingMask" widthSizable="YES"/>
133+
<subviews>
134+
<searchField wantsLayer="YES" verticalHuggingPriority="750" textCompletion="NO" translatesAutoresizingMaskIntoConstraints="NO" id="rXa-ct-fRp">
135+
<rect key="frame" x="5" y="1" width="290" height="24"/>
136+
<searchFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" borderStyle="bezel" usesSingleLineMode="YES" bezelStyle="round" id="AfE-YO-lmL">
137+
<font key="font" metaFont="system"/>
138+
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
139+
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
140+
</searchFieldCell>
141+
</searchField>
142+
</subviews>
143+
<constraints>
144+
<constraint firstItem="rXa-ct-fRp" firstAttribute="leading" secondItem="4rD-aM-CGa" secondAttribute="leading" constant="5" id="33R-mP-Dv6"/>
145+
<constraint firstAttribute="bottom" secondItem="rXa-ct-fRp" secondAttribute="bottom" constant="1" id="PIM-R7-rlZ"/>
146+
<constraint firstItem="rXa-ct-fRp" firstAttribute="top" secondItem="4rD-aM-CGa" secondAttribute="top" constant="2" id="nxl-no-ckt"/>
147+
<constraint firstAttribute="trailing" secondItem="rXa-ct-fRp" secondAttribute="trailing" constant="5" id="z48-Ps-ceO"/>
148+
</constraints>
149+
</customView>
129150
</subviews>
130151
</customView>
131152
</subviews>

0 commit comments

Comments
 (0)