Skip to content

Commit 28b1a86

Browse files
committed
Adapt Query Favorite Manager Button Bar for Dark Mode
1 parent 2ae3bbf commit 28b1a86

File tree

1 file changed

+21
-25
lines changed

1 file changed

+21
-25
lines changed

Interfaces/English.lproj/QueryFavoriteManager.xib

Lines changed: 21 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -38,33 +38,32 @@
3838
<font key="titleFont" metaFont="system"/>
3939
</box>
4040
<splitView focusRingType="none" autosaveName="SPQueryFavoriteSplitView" dividerStyle="thin" vertical="YES" id="278" customClass="SPSplitView">
41-
<rect key="frame" x="0.0" y="-2" width="563" height="361"/>
41+
<rect key="frame" x="0.0" y="0.0" width="563" height="359"/>
4242
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
4343
<subviews>
4444
<view id="279">
45-
<rect key="frame" x="0.0" y="0.0" width="177" height="361"/>
45+
<rect key="frame" x="0.0" y="0.0" width="177" height="359"/>
4646
<autoresizingMask key="autoresizingMask" heightSizable="YES"/>
4747
<subviews>
48-
<imageView id="345">
49-
<rect key="frame" x="0.0" y="3" width="177" height="22"/>
48+
<customView id="0v1-Cb-QAu" customClass="SPButtonBar">
49+
<rect key="frame" x="0.0" y="0.0" width="177" height="23"/>
5050
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
51-
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="axesIndependently" image="button_bar_spacer" id="346"/>
52-
</imageView>
51+
</customView>
5352
<scrollView focusRingType="none" borderType="none" autohidesScrollers="YES" horizontalLineScroll="18" horizontalPageScroll="10" verticalLineScroll="18" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" id="14">
54-
<rect key="frame" x="0.0" y="25" width="178" height="336"/>
53+
<rect key="frame" x="0.0" y="23" width="177" height="336"/>
5554
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
5655
<clipView key="contentView" id="1lF-66-NR0">
57-
<rect key="frame" x="0.0" y="17" width="178" height="319"/>
56+
<rect key="frame" x="0.0" y="0.0" width="177" height="336"/>
5857
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
5958
<subviews>
6059
<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">
61-
<rect key="frame" x="0.0" y="0.0" width="178" height="319"/>
60+
<rect key="frame" x="0.0" y="0.0" width="177" height="319"/>
6261
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
6362
<size key="intercellSpacing" width="3" height="2"/>
6463
<color key="backgroundColor" name="_sourceListBackgroundColor" catalog="System" colorSpace="catalog"/>
6564
<color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/>
6665
<tableColumns>
67-
<tableColumn identifier="name" width="120" minWidth="20" maxWidth="2000" id="26">
66+
<tableColumn identifier="name" width="119" minWidth="20" maxWidth="2000" id="26">
6867
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="Favorites">
6968
<font key="font" metaFont="smallSystem"/>
7069
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
@@ -117,12 +116,12 @@
117116
<autoresizingMask key="autoresizingMask"/>
118117
</scroller>
119118
<tableHeaderView key="headerView" focusRingType="none" id="265">
120-
<rect key="frame" x="0.0" y="0.0" width="178" height="17"/>
119+
<rect key="frame" x="0.0" y="0.0" width="177" height="17"/>
121120
<autoresizingMask key="autoresizingMask"/>
122121
</tableHeaderView>
123122
</scrollView>
124123
<button toolTip="Delete selected favorite (⌫)" id="17">
125-
<rect key="frame" x="30" y="1" width="32" height="25"/>
124+
<rect key="frame" x="32" y="0.0" width="32" height="23"/>
126125
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
127126
<buttonCell key="cell" type="roundTextured" bezelStyle="texturedRounded" image="button_remove" imagePosition="only" alignment="center" inset="2" id="20">
128127
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
@@ -134,7 +133,7 @@
134133
</connections>
135134
</button>
136135
<button toolTip="Add favorite (⌥⌘A)" id="18">
137-
<rect key="frame" x="-1" y="1" width="32" height="25"/>
136+
<rect key="frame" x="0.0" y="0.0" width="32" height="23"/>
138137
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
139138
<buttonCell key="cell" type="roundTextured" bezelStyle="texturedRounded" image="button_add" imagePosition="overlaps" alignment="center" inset="2" id="19">
140139
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
@@ -147,12 +146,12 @@
147146
</connections>
148147
</button>
149148
<imageView id="347">
150-
<rect key="frame" x="162" y="3" width="15" height="22"/>
149+
<rect key="frame" x="162" y="0.0" width="15" height="23"/>
151150
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/>
152151
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="axesIndependently" image="button_bar_handle" id="348"/>
153152
</imageView>
154153
<popUpButton toolTip="(⌥⎋)" id="349">
155-
<rect key="frame" x="60" y="2" width="36" height="23"/>
154+
<rect key="frame" x="64" y="0.0" width="36" height="23"/>
156155
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
157156
<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">
158157
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
@@ -208,7 +207,7 @@ Gw
208207
</subviews>
209208
</view>
210209
<view focusRingType="none" id="280">
211-
<rect key="frame" x="178" y="0.0" width="385" height="361"/>
210+
<rect key="frame" x="178" y="0.0" width="385" height="359"/>
212211
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
213212
<subviews>
214213
<button horizontalHuggingPriority="750" verticalHuggingPriority="750" id="342">
@@ -368,7 +367,7 @@ Gw
368367
</textFieldCell>
369368
</textField>
370369
<textField verticalHuggingPriority="750" id="121">
371-
<rect key="frame" x="17" y="331" width="60" height="14"/>
370+
<rect key="frame" x="17" y="329" width="60" height="14"/>
372371
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
373372
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" title="Name:" id="122">
374373
<font key="font" metaFont="smallSystem"/>
@@ -377,7 +376,7 @@ Gw
377376
</textFieldCell>
378377
</textField>
379378
<textField verticalHuggingPriority="750" id="123">
380-
<rect key="frame" x="77" y="328" width="288" height="19"/>
379+
<rect key="frame" x="77" y="326" width="288" height="19"/>
381380
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
382381
<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">
383382
<font key="font" metaFont="smallSystem"/>
@@ -391,21 +390,19 @@ Gw
391390
</connections>
392391
</textField>
393392
<scrollView autohidesScrollers="YES" horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" id="127">
394-
<rect key="frame" x="20" y="82" width="345" height="238"/>
393+
<rect key="frame" x="20" y="82" width="345" height="236"/>
395394
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
396395
<clipView key="contentView" id="KNk-Zt-Spr">
397-
<rect key="frame" x="1" y="1" width="343" height="236"/>
396+
<rect key="frame" x="1" y="1" width="343" height="234"/>
398397
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
399398
<subviews>
400399
<textView importsGraphics="NO" richText="NO" findStyle="panel" allowsUndo="YES" usesFontPanel="YES" verticallyResizable="YES" smartInsertDelete="YES" id="130" customClass="SPTextView">
401-
<rect key="frame" x="0.0" y="0.0" width="343" height="236"/>
400+
<rect key="frame" x="0.0" y="0.0" width="343" height="234"/>
402401
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
403402
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
404-
<size key="minSize" width="343" height="236"/>
403+
<size key="minSize" width="343" height="234"/>
405404
<size key="maxSize" width="592" height="10000000"/>
406405
<color key="insertionPointColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
407-
<size key="minSize" width="343" height="236"/>
408-
<size key="maxSize" width="592" height="10000000"/>
409406
<connections>
410407
<binding destination="143" name="font" keyPath="values.CustomQueryEditorFont" id="146">
411408
<dictionary key="options">
@@ -511,7 +508,6 @@ Gw
511508
<image name="button_action" width="16" height="16"/>
512509
<image name="button_add" width="16" height="16"/>
513510
<image name="button_bar_handle" width="16" height="16"/>
514-
<image name="button_bar_spacer" width="10" height="29"/>
515511
<image name="button_remove" width="32" height="23"/>
516512
</resources>
517513
</document>

0 commit comments

Comments
 (0)