Skip to content

Commit

Permalink
Adapt Query Favorite Manager Button Bar for Dark Mode
Browse files Browse the repository at this point in the history
  • Loading branch information
dmoagx committed Jul 19, 2018
1 parent 2ae3bbf commit 28b1a86
Showing 1 changed file with 21 additions and 25 deletions.
46 changes: 21 additions & 25 deletions Interfaces/English.lproj/QueryFavoriteManager.xib
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -38,33 +38,32 @@
<font key="titleFont" metaFont="system"/> <font key="titleFont" metaFont="system"/>
</box> </box>
<splitView focusRingType="none" autosaveName="SPQueryFavoriteSplitView" dividerStyle="thin" vertical="YES" id="278" customClass="SPSplitView"> <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"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews> <subviews>
<view id="279"> <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"/> <autoresizingMask key="autoresizingMask" heightSizable="YES"/>
<subviews> <subviews>
<imageView id="345"> <customView id="0v1-Cb-QAu" customClass="SPButtonBar">
<rect key="frame" x="0.0" y="3" width="177" height="22"/> <rect key="frame" x="0.0" y="0.0" width="177" height="23"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="axesIndependently" image="button_bar_spacer" id="346"/> </customView>
</imageView>
<scrollView focusRingType="none" borderType="none" autohidesScrollers="YES" horizontalLineScroll="18" horizontalPageScroll="10" verticalLineScroll="18" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" id="14"> <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"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<clipView key="contentView" id="1lF-66-NR0"> <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"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews> <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"> <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"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<size key="intercellSpacing" width="3" height="2"/> <size key="intercellSpacing" width="3" height="2"/>
<color key="backgroundColor" name="_sourceListBackgroundColor" catalog="System" colorSpace="catalog"/> <color key="backgroundColor" name="_sourceListBackgroundColor" catalog="System" colorSpace="catalog"/>
<color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/> <color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/>
<tableColumns> <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"> <tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="Favorites">
<font key="font" metaFont="smallSystem"/> <font key="font" metaFont="smallSystem"/>
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/> <color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
Expand Down Expand Up @@ -117,12 +116,12 @@
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
</scroller> </scroller>
<tableHeaderView key="headerView" focusRingType="none" id="265"> <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"/> <autoresizingMask key="autoresizingMask"/>
</tableHeaderView> </tableHeaderView>
</scrollView> </scrollView>
<button toolTip="Delete selected favorite (⌫)" id="17"> <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"/> <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"> <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"/> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
Expand All @@ -134,7 +133,7 @@
</connections> </connections>
</button> </button>
<button toolTip="Add favorite (⌥⌘A)" id="18"> <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"/> <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"> <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"/> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
Expand All @@ -147,12 +146,12 @@
</connections> </connections>
</button> </button>
<imageView id="347"> <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"/> <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/>
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="axesIndependently" image="button_bar_handle" id="348"/> <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="axesIndependently" image="button_bar_handle" id="348"/>
</imageView> </imageView>
<popUpButton toolTip="(⌥⎋)" id="349"> <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"/> <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"> <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"/> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
Expand Down Expand Up @@ -208,7 +207,7 @@ Gw
</subviews> </subviews>
</view> </view>
<view focusRingType="none" id="280"> <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"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews> <subviews>
<button horizontalHuggingPriority="750" verticalHuggingPriority="750" id="342"> <button horizontalHuggingPriority="750" verticalHuggingPriority="750" id="342">
Expand Down Expand Up @@ -368,7 +367,7 @@ Gw
</textFieldCell> </textFieldCell>
</textField> </textField>
<textField verticalHuggingPriority="750" id="121"> <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"/> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" title="Name:" id="122"> <textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" title="Name:" id="122">
<font key="font" metaFont="smallSystem"/> <font key="font" metaFont="smallSystem"/>
Expand All @@ -377,7 +376,7 @@ Gw
</textFieldCell> </textFieldCell>
</textField> </textField>
<textField verticalHuggingPriority="750" id="123"> <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"/> <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"> <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"/> <font key="font" metaFont="smallSystem"/>
Expand All @@ -391,21 +390,19 @@ Gw
</connections> </connections>
</textField> </textField>
<scrollView autohidesScrollers="YES" horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" id="127"> <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"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<clipView key="contentView" id="KNk-Zt-Spr"> <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"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews> <subviews>
<textView importsGraphics="NO" richText="NO" findStyle="panel" allowsUndo="YES" usesFontPanel="YES" verticallyResizable="YES" smartInsertDelete="YES" id="130" customClass="SPTextView"> <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"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> <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"/> <size key="maxSize" width="592" height="10000000"/>
<color key="insertionPointColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> <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> <connections>
<binding destination="143" name="font" keyPath="values.CustomQueryEditorFont" id="146"> <binding destination="143" name="font" keyPath="values.CustomQueryEditorFont" id="146">
<dictionary key="options"> <dictionary key="options">
Expand Down Expand Up @@ -511,7 +508,6 @@ Gw
<image name="button_action" width="16" height="16"/> <image name="button_action" width="16" height="16"/>
<image name="button_add" 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_handle" width="16" height="16"/>
<image name="button_bar_spacer" width="10" height="29"/>
<image name="button_remove" width="32" height="23"/> <image name="button_remove" width="32" height="23"/>
</resources> </resources>
</document> </document>

0 comments on commit 28b1a86

Please sign in to comment.