Skip to content

Commit 22bd7b1

Browse files
committed
kit: advanced commit view controller search field insets have been added.
1 parent 48d3db5 commit 22bd7b1

File tree

1 file changed

+25
-11
lines changed

1 file changed

+25
-11
lines changed

GitUpKit/Views/Base.lproj/GIAdvancedCommitViewController.xib

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -132,18 +132,32 @@
132132
</userDefinedRuntimeAttributes>
133133
</customView>
134134
<customView fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="SLl-qM-6U5">
135-
<rect key="frame" x="0.0" y="30" width="300" height="138"/>
135+
<rect key="frame" x="0.0" y="26" width="300" height="142"/>
136136
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
137137
</customView>
138-
<searchField wantsLayer="YES" verticalHuggingPriority="750" fixedFrame="YES" textCompletion="NO" translatesAutoresizingMaskIntoConstraints="NO" id="u4y-Fx-A8g">
139-
<rect key="frame" x="0.0" y="0.0" width="300" height="22"/>
138+
<customView id="0Ii-fZ-SOT">
139+
<rect key="frame" x="0.0" y="0.0" width="300" height="27"/>
140140
<autoresizingMask key="autoresizingMask" widthSizable="YES"/>
141-
<searchFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" borderStyle="bezel" usesSingleLineMode="YES" bezelStyle="round" id="kvx-Du-Akt">
142-
<font key="font" metaFont="system"/>
143-
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
144-
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
145-
</searchFieldCell>
146-
</searchField>
141+
<subviews>
142+
<searchField wantsLayer="YES" verticalHuggingPriority="750" textCompletion="NO" translatesAutoresizingMaskIntoConstraints="NO" id="u4y-Fx-A8g">
143+
<rect key="frame" x="5" y="1" width="290" height="24"/>
144+
<searchFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" borderStyle="bezel" usesSingleLineMode="YES" bezelStyle="round" id="kvx-Du-Akt">
145+
<font key="font" metaFont="system"/>
146+
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
147+
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
148+
</searchFieldCell>
149+
<connections>
150+
<outlet property="nextKeyView" destination="ZGk-oR-MNP" id="iik-md-9MI"/>
151+
</connections>
152+
</searchField>
153+
</subviews>
154+
<constraints>
155+
<constraint firstItem="u4y-Fx-A8g" firstAttribute="leading" secondItem="0Ii-fZ-SOT" secondAttribute="leading" constant="5" id="2AH-Dl-H9u"/>
156+
<constraint firstItem="u4y-Fx-A8g" firstAttribute="top" secondItem="0Ii-fZ-SOT" secondAttribute="top" constant="2" id="UrJ-Hs-dTL"/>
157+
<constraint firstAttribute="bottom" secondItem="u4y-Fx-A8g" secondAttribute="bottom" constant="1" id="alK-Hz-DEi"/>
158+
<constraint firstAttribute="trailing" secondItem="u4y-Fx-A8g" secondAttribute="trailing" constant="5" id="jcE-ME-gwb"/>
159+
</constraints>
160+
</customView>
147161
</subviews>
148162
</customView>
149163
</subviews>
@@ -210,7 +224,7 @@
210224
<fragment content="&lt;MESSAGE&gt;">
211225
<attributes>
212226
<color key="NSColor" name="textColor" catalog="System" colorSpace="catalog"/>
213-
<font key="NSFont" metaFont="label" size="11"/>
227+
<font key="NSFont" metaFont="message" size="11"/>
214228
<paragraphStyle key="NSParagraphStyle" alignment="natural" lineBreakMode="wordWrapping" baseWritingDirection="natural"/>
215229
</attributes>
216230
</fragment>
@@ -262,7 +276,7 @@ DQ
262276
<rect key="frame" x="130" y="16" width="614" height="14"/>
263277
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
264278
<textFieldCell key="cell" controlSize="small" lineBreakMode="truncatingTail" allowsUndo="NO" sendsActionOnEndEditing="YES" alignment="center" title="&lt;INFO&gt;" id="dbO-mu-br6">
265-
<font key="font" metaFont="label" size="11"/>
279+
<font key="font" metaFont="message" size="11"/>
266280
<color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/>
267281
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
268282
</textFieldCell>

0 commit comments

Comments
 (0)