Skip to content
Permalink
Browse files

Adapt Query Favorite Manager Button Bar for Dark Mode

  • Loading branch information...
dmoagx committed Jul 19, 2018
1 parent 2ae3bbf commit 28b1a86129d36e938aa61ecb1907d5c52289e10d
Showing with 21 additions and 25 deletions.
  1. +21 −25 Interfaces/English.lproj/QueryFavoriteManager.xib
@@ -38,33 +38,32 @@
<font key="titleFont" metaFont="system"/>
</box>
<splitView focusRingType="none" autosaveName="SPQueryFavoriteSplitView" dividerStyle="thin" vertical="YES" id="278" customClass="SPSplitView">
<rect key="frame" x="0.0" y="-2" width="563" height="361"/>
<rect key="frame" x="0.0" y="0.0" width="563" height="359"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<view id="279">
<rect key="frame" x="0.0" y="0.0" width="177" height="361"/>
<rect key="frame" x="0.0" y="0.0" width="177" height="359"/>
<autoresizingMask key="autoresizingMask" heightSizable="YES"/>
<subviews>
<imageView id="345">
<rect key="frame" x="0.0" y="3" width="177" height="22"/>
<customView id="0v1-Cb-QAu" customClass="SPButtonBar">
<rect key="frame" x="0.0" y="0.0" width="177" height="23"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="axesIndependently" image="button_bar_spacer" id="346"/>
</imageView>
</customView>
<scrollView focusRingType="none" borderType="none" autohidesScrollers="YES" horizontalLineScroll="18" horizontalPageScroll="10" verticalLineScroll="18" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" id="14">
<rect key="frame" x="0.0" y="25" width="178" height="336"/>
<rect key="frame" x="0.0" y="23" width="177" height="336"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<clipView key="contentView" id="1lF-66-NR0">
<rect key="frame" x="0.0" y="17" width="178" height="319"/>
<rect key="frame" x="0.0" y="0.0" width="177" height="336"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView focusRingType="none" verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="firstColumnOnly" selectionHighlightStyle="sourceList" columnReordering="NO" emptySelection="NO" autosaveName="SPQueryFavoriteManagerTable" rowHeight="16" headerView="265" id="23" customClass="SPTableView">
<rect key="frame" x="0.0" y="0.0" width="178" height="319"/>
<rect key="frame" x="0.0" y="0.0" width="177" height="319"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<size key="intercellSpacing" width="3" height="2"/>
<color key="backgroundColor" name="_sourceListBackgroundColor" catalog="System" colorSpace="catalog"/>
<color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/>
<tableColumns>
<tableColumn identifier="name" width="120" minWidth="20" maxWidth="2000" id="26">
<tableColumn identifier="name" width="119" minWidth="20" maxWidth="2000" id="26">
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="Favorites">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
@@ -117,12 +116,12 @@
<autoresizingMask key="autoresizingMask"/>
</scroller>
<tableHeaderView key="headerView" focusRingType="none" id="265">
<rect key="frame" x="0.0" y="0.0" width="178" height="17"/>
<rect key="frame" x="0.0" y="0.0" width="177" height="17"/>
<autoresizingMask key="autoresizingMask"/>
</tableHeaderView>
</scrollView>
<button toolTip="Delete selected favorite (⌫)" id="17">
<rect key="frame" x="30" y="1" width="32" height="25"/>
<rect key="frame" x="32" y="0.0" width="32" height="23"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<buttonCell key="cell" type="roundTextured" bezelStyle="texturedRounded" image="button_remove" imagePosition="only" alignment="center" inset="2" id="20">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
@@ -134,7 +133,7 @@
</connections>
</button>
<button toolTip="Add favorite (⌥⌘A)" id="18">
<rect key="frame" x="-1" y="1" width="32" height="25"/>
<rect key="frame" x="0.0" y="0.0" width="32" height="23"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<buttonCell key="cell" type="roundTextured" bezelStyle="texturedRounded" image="button_add" imagePosition="overlaps" alignment="center" inset="2" id="19">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
@@ -147,12 +146,12 @@
</connections>
</button>
<imageView id="347">
<rect key="frame" x="162" y="3" width="15" height="22"/>
<rect key="frame" x="162" y="0.0" width="15" height="23"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/>
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="axesIndependently" image="button_bar_handle" id="348"/>
</imageView>
<popUpButton toolTip="(⌥⎋)" id="349">
<rect key="frame" x="60" y="2" width="36" height="23"/>
<rect key="frame" x="64" y="0.0" width="36" height="23"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<popUpButtonCell key="cell" type="bevel" bezelStyle="regularSquare" imagePosition="right" alignment="center" lineBreakMode="truncatingTail" state="on" inset="2" pullsDown="YES" arrowPosition="noArrow" selectedItem="358" id="350">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
@@ -208,7 +207,7 @@ Gw
</subviews>
</view>
<view focusRingType="none" id="280">
<rect key="frame" x="178" y="0.0" width="385" height="361"/>
<rect key="frame" x="178" y="0.0" width="385" height="359"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<button horizontalHuggingPriority="750" verticalHuggingPriority="750" id="342">
@@ -368,7 +367,7 @@ Gw
</textFieldCell>
</textField>
<textField verticalHuggingPriority="750" id="121">
<rect key="frame" x="17" y="331" width="60" height="14"/>
<rect key="frame" x="17" y="329" width="60" height="14"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" title="Name:" id="122">
<font key="font" metaFont="smallSystem"/>
@@ -377,7 +376,7 @@ Gw
</textFieldCell>
</textField>
<textField verticalHuggingPriority="750" id="123">
<rect key="frame" x="77" y="328" width="288" height="19"/>
<rect key="frame" x="77" y="326" width="288" height="19"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" placeholderString="[no selection]" drawsBackground="YES" usesSingleLineMode="YES" id="124">
<font key="font" metaFont="smallSystem"/>
@@ -391,21 +390,19 @@ Gw
</connections>
</textField>
<scrollView autohidesScrollers="YES" horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" id="127">
<rect key="frame" x="20" y="82" width="345" height="238"/>
<rect key="frame" x="20" y="82" width="345" height="236"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<clipView key="contentView" id="KNk-Zt-Spr">
<rect key="frame" x="1" y="1" width="343" height="236"/>
<rect key="frame" x="1" y="1" width="343" height="234"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textView importsGraphics="NO" richText="NO" findStyle="panel" allowsUndo="YES" usesFontPanel="YES" verticallyResizable="YES" smartInsertDelete="YES" id="130" customClass="SPTextView">
<rect key="frame" x="0.0" y="0.0" width="343" height="236"/>
<rect key="frame" x="0.0" y="0.0" width="343" height="234"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<size key="minSize" width="343" height="236"/>
<size key="minSize" width="343" height="234"/>
<size key="maxSize" width="592" height="10000000"/>
<color key="insertionPointColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
<size key="minSize" width="343" height="236"/>
<size key="maxSize" width="592" height="10000000"/>
<connections>
<binding destination="143" name="font" keyPath="values.CustomQueryEditorFont" id="146">
<dictionary key="options">
@@ -511,7 +508,6 @@ Gw
<image name="button_action" width="16" height="16"/>
<image name="button_add" width="16" height="16"/>
<image name="button_bar_handle" width="16" height="16"/>
<image name="button_bar_spacer" width="10" height="29"/>
<image name="button_remove" width="32" height="23"/>
</resources>
</document>

0 comments on commit 28b1a86

Please sign in to comment.
You can’t perform that action at this time.