Add tooltips to toolbar items. Make icon-only the default.

This commit is contained in:
Brent Simmons 2017-11-18 11:07:18 -08:00
parent 51b635a4d8
commit bc6370e6c5
2 changed files with 20 additions and 26 deletions

View File

@ -432,6 +432,12 @@
<action selector="hitPanicButton:" target="Ady-hI-5gd" id="Y12-ll-3qL"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="gB0-WX-2Gd"/>
<menuItem title="Star" keyEquivalent="L" id="vvo-ZM-8kl">
<connections>
<action selector="markAllAsRead:" target="Ady-hI-5gd" id="WdN-5m-sV0"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="qgr-Gl-Xhw"/>
<menuItem title="Open in Browser" keyEquivalent="" id="4iQ-1v-dTa">
<connections>

View File

@ -16,12 +16,11 @@
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
<rect key="contentRect" x="196" y="240" width="480" height="270"/>
<rect key="screenRect" x="0.0" y="0.0" width="1680" height="1027"/>
<toolbar key="toolbar" implicitIdentifier="3C53153F-2D4C-441B-B551-D28ADBB5869C" explicitIdentifier="MainWindowToolbar" displayMode="iconAndLabel" sizeMode="regular" id="463-wM-1ZF">
<toolbar key="toolbar" implicitIdentifier="3C53153F-2D4C-441B-B551-D28ADBB5869C" explicitIdentifier="MainWindowToolbar" displayMode="iconOnly" sizeMode="regular" id="463-wM-1ZF">
<allowedToolbarItems>
<toolbarItem implicitItemIdentifier="NSToolbarSpaceItem" id="d4b-Sp-qek"/>
<toolbarItem implicitItemIdentifier="NSToolbarFlexibleSpaceItem" id="YMs-P5-Xhn"/>
<toolbarItem implicitItemIdentifier="DD0FA79F-72C1-488B-B113-0D2DE89AA468" label="Search" paletteLabel="Search" id="1Ql-WJ-KYi">
<nil key="toolTip"/>
<toolbarItem implicitItemIdentifier="DD0FA79F-72C1-488B-B113-0D2DE89AA468" label="Search" paletteLabel="Search" toolTip="Search Articles" id="1Ql-WJ-KYi">
<size key="minSize" width="96" height="22"/>
<size key="maxSize" width="256" height="28"/>
<searchField key="view" wantsLayer="YES" verticalHuggingPriority="750" id="Fcs-4u-xuP">
@ -52,8 +51,7 @@
</popUpButtonCell>
</popUpButton>
</toolbarItem>
<toolbarItem implicitItemIdentifier="C3050605-E4B0-40CB-BA19-F64DF68BCFFA" label="Share" paletteLabel="Share" image="NSShareTemplate" id="nv0-Ju-lP7" customClass="RSToolbarItem" customModule="RSCore">
<nil key="toolTip"/>
<toolbarItem implicitItemIdentifier="C3050605-E4B0-40CB-BA19-F64DF68BCFFA" label="Share" paletteLabel="Share" toolTip="Share" image="NSShareTemplate" id="nv0-Ju-lP7" customClass="RSToolbarItem" customModule="RSCore">
<size key="minSize" width="48" height="25"/>
<size key="maxSize" width="50" height="27"/>
<button key="view" verticalHuggingPriority="750" id="ypo-pI-PTN">
@ -65,8 +63,7 @@
</buttonCell>
</button>
</toolbarItem>
<toolbarItem implicitItemIdentifier="3552D790-D29C-4BF2-AF02-5BEFE49C7FB9" label="New Feed" paletteLabel="New Feed" image="NSAddTemplate" id="Skp-5r-70Q" customClass="RSToolbarItem" customModule="RSCore">
<nil key="toolTip"/>
<toolbarItem implicitItemIdentifier="3552D790-D29C-4BF2-AF02-5BEFE49C7FB9" label="New Feed" paletteLabel="New Feed" toolTip="New Feed" image="NSAddTemplate" id="Skp-5r-70Q" customClass="RSToolbarItem" customModule="RSCore">
<size key="minSize" width="48" height="25"/>
<size key="maxSize" width="50" height="27"/>
<button key="view" verticalHuggingPriority="750" id="rHO-y7-lG9">
@ -81,8 +78,7 @@
<action selector="showAddFeedWindow:" target="Oky-zY-oP4" id="pEy-MV-Lnd"/>
</connections>
</toolbarItem>
<toolbarItem implicitItemIdentifier="25C9E98A-867B-4EE2-BC1A-7B453D6B40BF" label="New Folder" paletteLabel="New Folder" image="newFolder" id="st0-Wp-nPK" customClass="RSToolbarItem" customModule="RSCore">
<nil key="toolTip"/>
<toolbarItem implicitItemIdentifier="25C9E98A-867B-4EE2-BC1A-7B453D6B40BF" label="New Folder" paletteLabel="New Folder" toolTip="New Folder" image="newFolder" id="st0-Wp-nPK" customClass="RSToolbarItem" customModule="RSCore">
<size key="minSize" width="48" height="25"/>
<size key="maxSize" width="50" height="27"/>
<button key="view" verticalHuggingPriority="750" id="nvZ-IA-qOA">
@ -97,8 +93,7 @@
<action selector="showAddFolderWindow:" target="Oky-zY-oP4" id="JH4-ym-YWq"/>
</connections>
</toolbarItem>
<toolbarItem implicitItemIdentifier="D783290E-C822-40DF-8CB8-925D92EA4D83" label="Next Unread" paletteLabel="Next Unread" image="nextUnread" id="p7Y-Vm-ILH" customClass="RSToolbarItem" customModule="RSCore">
<nil key="toolTip"/>
<toolbarItem implicitItemIdentifier="D783290E-C822-40DF-8CB8-925D92EA4D83" label="Next Unread" paletteLabel="Next Unread" toolTip="Go to Next Unread" image="nextUnread" id="p7Y-Vm-ILH" customClass="RSToolbarItem" customModule="RSCore">
<size key="minSize" width="48" height="25"/>
<size key="maxSize" width="50" height="27"/>
<button key="view" verticalHuggingPriority="750" id="1g8-XX-BhA">
@ -113,8 +108,7 @@
<action selector="nextUnread:" target="Oky-zY-oP4" id="tR6-kc-nFc"/>
</connections>
</toolbarItem>
<toolbarItem implicitItemIdentifier="4A460A5C-B005-4797-AA95-FD667F0A61C2" label="Mark All as Read" paletteLabel="Mark All as Read" image="markAllRead" id="lst-vn-0Iw" customClass="RSToolbarItem" customModule="RSCore">
<nil key="toolTip"/>
<toolbarItem implicitItemIdentifier="4A460A5C-B005-4797-AA95-FD667F0A61C2" label="Mark All as Read" paletteLabel="Mark All as Read" toolTip="Mark All as Read" image="markAllRead" id="lst-vn-0Iw" customClass="RSToolbarItem" customModule="RSCore">
<size key="minSize" width="48" height="25"/>
<size key="maxSize" width="50" height="27"/>
<button key="view" verticalHuggingPriority="750" id="0d4-hY-S6r">
@ -129,8 +123,7 @@
<action selector="markAllAsRead:" target="Oky-zY-oP4" id="qQg-Wj-NpN"/>
</connections>
</toolbarItem>
<toolbarItem implicitItemIdentifier="540B93C9-F805-41C8-A638-3DC0825A020B" label="Mark Read" paletteLabel="Mark Read" image="markRead" id="N7D-g2-EPD" customClass="RSToolbarItem" customModule="RSCore">
<nil key="toolTip"/>
<toolbarItem implicitItemIdentifier="540B93C9-F805-41C8-A638-3DC0825A020B" label="Mark Read" paletteLabel="Mark Read" toolTip="Mark Read or Unread" image="markRead" id="N7D-g2-EPD" customClass="RSToolbarItem" customModule="RSCore">
<size key="minSize" width="48" height="25"/>
<size key="maxSize" width="50" height="27"/>
<button key="view" verticalHuggingPriority="750" id="Pe3-wh-G7e">
@ -145,8 +138,7 @@
<action selector="markRead:" target="Oky-zY-oP4" id="yFY-gd-FOd"/>
</connections>
</toolbarItem>
<toolbarItem implicitItemIdentifier="09CE2FC7-B9B6-4A74-85B3-2DED57082923" label="Star" paletteLabel="Star" image="star" id="Gxg-WQ-ufC" customClass="RSToolbarItem" customModule="RSCore">
<nil key="toolTip"/>
<toolbarItem implicitItemIdentifier="09CE2FC7-B9B6-4A74-85B3-2DED57082923" label="Star" paletteLabel="Star" toolTip="Star or Unstar" image="star" id="Gxg-WQ-ufC" customClass="RSToolbarItem" customModule="RSCore">
<size key="minSize" width="48" height="25"/>
<size key="maxSize" width="50" height="27"/>
<button key="view" verticalHuggingPriority="750" id="Ehx-31-ELo">
@ -161,11 +153,10 @@
<action selector="markRead:" target="Oky-zY-oP4" id="fYI-jM-htG"/>
</connections>
</toolbarItem>
<toolbarItem implicitItemIdentifier="4DED27B7-8961-48F3-A995-9C961E2C0257" label="Open in Browser" paletteLabel="Open in Browser" image="openInBrowser" id="tid-SB-me3" customClass="RSToolbarItem" customModule="RSCore">
<nil key="toolTip"/>
<toolbarItem implicitItemIdentifier="4DED27B7-8961-48F3-A995-9C961E2C0257" label="Open in Browser" paletteLabel="Open in Browser" toolTip="Open in Browser" image="openInBrowser" id="tid-SB-me3" customClass="RSToolbarItem" customModule="RSCore">
<size key="minSize" width="48" height="25"/>
<size key="maxSize" width="50" height="27"/>
<button key="view" verticalHuggingPriority="750" id="pgp-lZ-j6S">
<button key="view" verticalHuggingPriority="750" allowsExpansionToolTips="YES" id="pgp-lZ-j6S">
<rect key="frame" x="23" y="14" width="48" height="25"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<buttonCell key="cell" type="roundTextured" bezelStyle="texturedRounded" image="openInBrowser" imagePosition="overlaps" alignment="center" lineBreakMode="truncatingTail" state="on" borderStyle="border" inset="2" id="PNN-ND-sO0">
@ -177,8 +168,7 @@
<action selector="openArticleInBrowser:" target="Oky-zY-oP4" id="txK-8m-Gcm"/>
</connections>
</toolbarItem>
<toolbarItem implicitItemIdentifier="94C3EB28-587B-4C5C-9647-F8A2A240A1FD" label="Refresh" paletteLabel="Refresh" image="NSRefreshTemplate" id="QD0-SQ-OIM" customClass="RSToolbarItem" customModule="RSCore">
<nil key="toolTip"/>
<toolbarItem implicitItemIdentifier="94C3EB28-587B-4C5C-9647-F8A2A240A1FD" label="Refresh" paletteLabel="Refresh" toolTip="Refresh" image="NSRefreshTemplate" id="QD0-SQ-OIM" customClass="RSToolbarItem" customModule="RSCore">
<size key="minSize" width="48" height="25"/>
<size key="maxSize" width="50" height="27"/>
<button key="view" verticalHuggingPriority="750" id="tRb-KW-Z3i">
@ -193,8 +183,7 @@
<action selector="refreshAll:" target="Oky-zY-oP4" id="KRz-Df-3zA"/>
</connections>
</toolbarItem>
<toolbarItem implicitItemIdentifier="AD69461C-BB63-4923-AC4C-1F23544C3BBA" label="" paletteLabel="" id="dj7-mB-qwg">
<nil key="toolTip"/>
<toolbarItem implicitItemIdentifier="AD69461C-BB63-4923-AC4C-1F23544C3BBA" label="" paletteLabel="" toolTip="Back/Forward" id="dj7-mB-qwg">
<size key="minSize" width="73" height="25"/>
<size key="maxSize" width="73" height="28"/>
<segmentedControl key="view" verticalHuggingPriority="750" id="qk7-0C-1d7">
@ -213,8 +202,7 @@
</segmentedCell>
</segmentedControl>
</toolbarItem>
<toolbarItem implicitItemIdentifier="BEE79EC5-174E-40DB-AA76-0F1141C97804" label="Action" paletteLabel="Action" image="action" id="eyg-zr-m4a">
<nil key="toolTip"/>
<toolbarItem implicitItemIdentifier="BEE79EC5-174E-40DB-AA76-0F1141C97804" label="Action" paletteLabel="Action" toolTip="Action" image="action" id="eyg-zr-m4a">
<size key="minSize" width="48" height="25"/>
<size key="maxSize" width="50" height="28"/>
<popUpButton key="view" verticalHuggingPriority="750" id="3z3-Db-0Kb">