Skip to content

Commit 4df0681

Browse files
committed
Add toolbar with search box
1 parent 0276df3 commit 4df0681

File tree

1 file changed

+27
-3
lines changed

1 file changed

+27
-3
lines changed

devdocs-macos/DocumentationWindow.xib

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
2+
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="17506" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
33
<dependencies>
4-
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14490.70"/>
4+
<deployment identifier="macosx"/>
5+
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="17506"/>
6+
<capability name="Search Toolbar Item" minToolsVersion="12.0" minSystemVersion="11.0"/>
57
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
68
</dependencies>
79
<objects>
@@ -17,11 +19,33 @@
1719
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
1820
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
1921
<rect key="contentRect" x="196" y="240" width="800" height="600"/>
20-
<rect key="screenRect" x="0.0" y="0.0" width="1280" height="777"/>
22+
<rect key="screenRect" x="0.0" y="0.0" width="1440" height="875"/>
2123
<view key="contentView" wantsLayer="YES" id="EiT-Mj-1SZ">
2224
<rect key="frame" x="0.0" y="0.0" width="800" height="600"/>
2325
<autoresizingMask key="autoresizingMask"/>
2426
</view>
27+
<toolbar key="toolbar" implicitIdentifier="3EDBA340-82E0-4F6D-A2E5-B64C00F706AB" autosavesConfiguration="NO" displayMode="iconOnly" sizeMode="regular" id="RPh-lZ-I7q">
28+
<allowedToolbarItems>
29+
<toolbarItem implicitItemIdentifier="NSToolbarSpaceItem" id="djD-j7-CRO"/>
30+
<toolbarItem implicitItemIdentifier="NSToolbarFlexibleSpaceItem" id="C4V-Bf-4rP"/>
31+
<searchToolbarItem implicitItemIdentifier="199BC3E6-5F40-416D-9966-397495A3A2D8" label="Search" paletteLabel="Search" visibilityPriority="1001" id="6OC-fj-Lhe">
32+
<nil key="toolTip"/>
33+
<searchField key="view" verticalHuggingPriority="750" textCompletion="NO" id="nuW-bv-dAc">
34+
<rect key="frame" x="0.0" y="0.0" width="100" height="21"/>
35+
<autoresizingMask key="autoresizingMask"/>
36+
<searchFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" usesSingleLineMode="YES" bezelStyle="round" sendsSearchStringImmediately="YES" id="elf-l7-B2W">
37+
<font key="font" usesAppearanceFont="YES"/>
38+
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
39+
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
40+
</searchFieldCell>
41+
</searchField>
42+
</searchToolbarItem>
43+
</allowedToolbarItems>
44+
<defaultToolbarItems>
45+
<toolbarItem reference="C4V-Bf-4rP"/>
46+
<searchToolbarItem reference="6OC-fj-Lhe"/>
47+
</defaultToolbarItems>
48+
</toolbar>
2549
<point key="canvasLocation" x="-106" y="107"/>
2650
</window>
2751
<customObject id="f61-KY-zVD" customClass="DocumentationViewController" customModule="DevDocs" customModuleProvider="target">

0 commit comments

Comments
 (0)