~not/sonar

6f0c4fde802a7030f6a37e2f4cda274662929087 — b123400 a month ago d1ace5c
UI for search mode
2 files changed, 82 insertions(+), 46 deletions(-)

M Sonar/Player/Base.lproj/PlayerWindowController.xib
M Sonar/Player/PlayerWindowController.m
M Sonar/Player/Base.lproj/PlayerWindowController.xib => Sonar/Player/Base.lproj/PlayerWindowController.xib +80 -46
@@ 1,8 1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="21225" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
    <dependencies>
        <deployment identifier="macosx"/>
        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="21225"/>
        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
        <capability name="Image references" minToolsVersion="12.0"/>
        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
    </dependencies>


@@ 30,6 30,9 @@
                <outlet property="progressSlider" destination="xON-bw-Mdt" id="hKJ-TJ-dQo"/>
                <outlet property="randomButton" destination="oii-5P-0gx" id="gpc-Ee-nGW"/>
                <outlet property="repeatButton" destination="RCZ-ri-j8B" id="647-y2-fcD"/>
                <outlet property="searchField" destination="hBq-6T-efE" id="9No-8x-EJX"/>
                <outlet property="searchFieldHeightConstraint" destination="pnQ-h2-PiO" id="cRN-S8-9XQ"/>
                <outlet property="searchModeButton" destination="ep7-63-3EP" id="vda-Ns-eFL"/>
                <outlet property="songNameLabel" destination="VBU-8f-bth" id="jcT-oD-R6n"/>
                <outlet property="songsModeButton" destination="0w1-yG-eRB" id="vrz-4r-4vt"/>
                <outlet property="totalDurationLabel" destination="3oy-ZU-bX6" id="ALx-QX-XM3"/>


@@ 45,8 48,8 @@
            <rect key="contentRect" x="196" y="240" width="400" height="270"/>
            <rect key="screenRect" x="0.0" y="0.0" width="1920" height="1055"/>
            <value key="minSize" type="size" width="300" height="68"/>
            <view key="contentView" id="se5-gp-TjO">
                <rect key="frame" x="0.0" y="0.0" width="400" height="270"/>
            <view key="contentView" misplaced="YES" id="se5-gp-TjO">
                <rect key="frame" x="0.0" y="0.0" width="400" height="267"/>
                <autoresizingMask key="autoresizingMask"/>
                <subviews>
                    <visualEffectView blendingMode="behindWindow" material="underWindowBackground" state="active" translatesAutoresizingMaskIntoConstraints="NO" id="qLG-JE-jin">


@@ 55,21 58,24 @@
                            <customView wantsLayer="YES" verticalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="cEF-5D-l59">
                                <rect key="frame" x="0.0" y="0.0" width="400" height="174"/>
                                <subviews>
                                    <visualEffectView wantsLayer="YES" blendingMode="withinWindow" material="headerView" state="followsWindowActiveState" translatesAutoresizingMaskIntoConstraints="NO" id="lAy-fQ-Mus">
                                        <rect key="frame" x="0.0" y="148" width="400" height="26"/>
                                    <visualEffectView wantsLayer="YES" blendingMode="behindWindow" material="headerView" state="followsWindowActiveState" translatesAutoresizingMaskIntoConstraints="NO" id="lAy-fQ-Mus">
                                        <rect key="frame" x="0.0" y="122" width="400" height="52"/>
                                    </visualEffectView>
                                    <button wantsLayer="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="OuU-bf-WX6">
                                        <rect key="frame" x="12" y="152" width="68" height="18"/>
                                        <rect key="frame" x="12" y="152" width="67" height="18"/>
                                        <buttonCell key="cell" type="inline" title="Favourites" bezelStyle="inline" alignment="center" borderStyle="border" inset="2" id="lhn-HM-t6j">
                                            <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
                                            <font key="font" metaFont="smallSystemBold"/>
                                        </buttonCell>
                                        <constraints>
                                            <constraint firstAttribute="height" constant="18" id="wxr-Cr-7Rl"/>
                                        </constraints>
                                        <connections>
                                            <action selector="favouritesModeClicked:" target="-2" id="yyV-PH-fXv"/>
                                        </connections>
                                    </button>
                                    <button wantsLayer="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="9fv-nj-PFz">
                                        <rect key="frame" x="152" y="152" width="48" height="18"/>
                                        <rect key="frame" x="151" y="152" width="47" height="18"/>
                                        <buttonCell key="cell" type="inline" title="Artists" bezelStyle="inline" alignment="center" borderStyle="border" inset="2" id="MWK-pU-Mco">
                                            <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
                                            <font key="font" metaFont="smallSystemBold"/>


@@ 79,7 85,7 @@
                                        </connections>
                                    </button>
                                    <button wantsLayer="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="xQd-RQ-cMq">
                                        <rect key="frame" x="208" y="152" width="52" height="18"/>
                                        <rect key="frame" x="206" y="152" width="52" height="18"/>
                                        <buttonCell key="cell" type="inline" title="Albums" bezelStyle="inline" alignment="center" borderStyle="border" inset="2" id="ZNb-vG-Fw3">
                                            <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
                                            <font key="font" metaFont="smallSystemBold"/>


@@ 89,7 95,7 @@
                                        </connections>
                                    </button>
                                    <button hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="0w1-yG-eRB">
                                        <rect key="frame" x="268" y="152" width="46" height="18"/>
                                        <rect key="frame" x="323" y="152" width="45" height="18"/>
                                        <buttonCell key="cell" type="inline" title="Songs" bezelStyle="inline" alignment="center" borderStyle="border" inset="2" id="cCz-p4-qFI">
                                            <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
                                            <font key="font" metaFont="smallSystemBold"/>


@@ 98,8 104,18 @@
                                            <action selector="songsModeClicked:" target="-2" id="6aU-sj-cm2"/>
                                        </connections>
                                    </button>
                                    <button wantsLayer="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ep7-63-3EP">
                                        <rect key="frame" x="266" y="152" width="49" height="18"/>
                                        <buttonCell key="cell" type="inline" title="Search" bezelStyle="inline" alignment="center" borderStyle="border" inset="2" id="lPI-8O-1ri">
                                            <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
                                            <font key="font" size="11" name=".SFNS-Semibold"/>
                                        </buttonCell>
                                        <connections>
                                            <action selector="searchModeClicked:" target="-2" id="4CA-81-7ab"/>
                                        </connections>
                                    </button>
                                    <button wantsLayer="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="vMR-N3-Rxj">
                                        <rect key="frame" x="88" y="152" width="56" height="18"/>
                                        <rect key="frame" x="87" y="152" width="56" height="18"/>
                                        <buttonCell key="cell" type="inline" title="Playlists" bezelStyle="inline" alignment="center" borderStyle="border" inset="2" id="FXn-Ly-bDx">
                                            <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
                                            <font key="font" metaFont="smallSystemBold"/>


@@ 108,15 124,28 @@
                                            <action selector="playlistsModeClicked:" target="-2" id="zME-iS-vTd"/>
                                        </connections>
                                    </button>
                                    <scrollView borderType="none" autohidesScrollers="YES" horizontalLineScroll="24" horizontalPageScroll="10" verticalLineScroll="24" verticalPageScroll="10" usesPredominantAxisScrolling="NO" id="UXZ-Oi-NW8">
                                        <rect key="frame" x="0.0" y="0.0" width="400" height="148"/>
                                        <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES" heightSizable="YES"/>
                                    <searchField wantsLayer="YES" focusRingType="none" verticalHuggingPriority="750" textCompletion="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hBq-6T-efE">
                                        <rect key="frame" x="20" y="126" width="360" height="22"/>
                                        <constraints>
                                            <constraint firstAttribute="height" constant="22" id="pnQ-h2-PiO"/>
                                        </constraints>
                                        <searchFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" borderStyle="bezel" usesSingleLineMode="YES" bezelStyle="round" id="NEh-Om-iU6">
                                            <font key="font" metaFont="system"/>
                                            <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
                                            <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
                                        </searchFieldCell>
                                        <connections>
                                            <action selector="didEnteredSearchQuery:" target="-2" id="ooq-7G-zkn"/>
                                        </connections>
                                    </searchField>
                                    <scrollView borderType="none" autohidesScrollers="YES" horizontalLineScroll="24" horizontalPageScroll="10" verticalLineScroll="24" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="UXZ-Oi-NW8">
                                        <rect key="frame" x="0.0" y="0.0" width="400" height="122"/>
                                        <clipView key="contentView" drawsBackground="NO" id="BxI-uN-eTJ">
                                            <rect key="frame" x="0.0" y="0.0" width="400" height="148"/>
                                            <rect key="frame" x="0.0" y="0.0" width="400" height="122"/>
                                            <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                                            <subviews>
                                                <outlineView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" tableStyle="fullWidth" multipleSelection="NO" autosaveColumns="NO" rowHeight="24" headerView="TDu-5m-plK" indentationPerLevel="13" autoresizesOutlineColumn="YES" outlineTableColumn="yaF-ma-CSL" id="SQX-Jn-D0S">
                                                    <rect key="frame" x="0.0" y="0.0" width="1147" height="120"/>
                                                    <rect key="frame" x="0.0" y="0.0" width="1147" height="94"/>
                                                    <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                                                    <size key="intercellSpacing" width="17" height="0.0"/>
                                                    <color key="backgroundColor" red="0.1176470588" green="0.1176470588" blue="0.1176470588" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>


@@ 303,11 332,11 @@
                                            <color key="backgroundColor" red="0.1176470588" green="0.1176470588" blue="0.1176470588" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
                                        </clipView>
                                        <scroller key="horizontalScroller" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="KRQ-wE-5Iu">
                                            <rect key="frame" x="0.0" y="132" width="400" height="16"/>
                                            <rect key="frame" x="0.0" y="106" width="400" height="16"/>
                                            <autoresizingMask key="autoresizingMask"/>
                                        </scroller>
                                        <scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" doubleValue="1" horizontal="NO" id="64A-nK-O0T">
                                            <rect key="frame" x="224" y="17" width="15" height="102"/>
                                            <rect key="frame" x="384" y="28" width="16" height="14"/>
                                            <autoresizingMask key="autoresizingMask"/>
                                        </scroller>
                                        <tableHeaderView key="headerView" wantsLayer="YES" id="TDu-5m-plK">


@@ 320,22 349,27 @@
                                    </scrollView>
                                </subviews>
                                <constraints>
                                    <constraint firstAttribute="trailing" secondItem="hBq-6T-efE" secondAttribute="trailing" constant="20" symbolic="YES" id="1sI-TJ-ok1"/>
                                    <constraint firstItem="hBq-6T-efE" firstAttribute="top" secondItem="OuU-bf-WX6" secondAttribute="bottom" constant="4" id="3aE-Z6-nhJ"/>
                                    <constraint firstAttribute="trailing" secondItem="UXZ-Oi-NW8" secondAttribute="trailing" id="71U-mu-lc1"/>
                                    <constraint firstItem="xQd-RQ-cMq" firstAttribute="top" secondItem="cEF-5D-l59" secondAttribute="top" constant="4" id="CG4-3Z-XLS"/>
                                    <constraint firstItem="xQd-RQ-cMq" firstAttribute="leading" secondItem="9fv-nj-PFz" secondAttribute="trailing" constant="8" symbolic="YES" id="CW0-zt-AeF"/>
                                    <constraint firstItem="vMR-N3-Rxj" firstAttribute="leading" secondItem="OuU-bf-WX6" secondAttribute="trailing" constant="8" symbolic="YES" id="DcZ-mC-Lfc"/>
                                    <constraint firstItem="0w1-yG-eRB" firstAttribute="leading" secondItem="xQd-RQ-cMq" secondAttribute="trailing" constant="8" symbolic="YES" id="E07-9e-GrU"/>
                                    <constraint firstItem="0w1-yG-eRB" firstAttribute="leading" secondItem="ep7-63-3EP" secondAttribute="trailing" constant="8" symbolic="YES" id="E07-9e-GrU"/>
                                    <constraint firstItem="lAy-fQ-Mus" firstAttribute="leading" secondItem="cEF-5D-l59" secondAttribute="leading" id="FPc-F9-QFx"/>
                                    <constraint firstItem="9fv-nj-PFz" firstAttribute="top" secondItem="cEF-5D-l59" secondAttribute="top" constant="4" id="Hwu-aO-7cX"/>
                                    <constraint firstItem="UXZ-Oi-NW8" firstAttribute="top" secondItem="lAy-fQ-Mus" secondAttribute="bottom" id="Ovn-Ar-VRf"/>
                                    <constraint firstItem="ep7-63-3EP" firstAttribute="top" secondItem="cEF-5D-l59" secondAttribute="top" constant="4" id="ISt-3x-0uA"/>
                                    <constraint firstItem="UXZ-Oi-NW8" firstAttribute="leading" secondItem="cEF-5D-l59" secondAttribute="leading" id="XF4-YC-uRK"/>
                                    <constraint firstItem="UXZ-Oi-NW8" firstAttribute="top" secondItem="OuU-bf-WX6" secondAttribute="bottom" constant="4" id="YFh-CD-aab"/>
                                    <constraint firstItem="lAy-fQ-Mus" firstAttribute="top" secondItem="cEF-5D-l59" secondAttribute="top" id="YjG-Sw-HEf"/>
                                    <constraint firstItem="OuU-bf-WX6" firstAttribute="leading" secondItem="cEF-5D-l59" secondAttribute="leading" constant="12" id="bpr-Uq-skB"/>
                                    <constraint firstItem="UXZ-Oi-NW8" firstAttribute="top" secondItem="lAy-fQ-Mus" secondAttribute="bottom" id="dhG-Vu-etA"/>
                                    <constraint firstItem="ep7-63-3EP" firstAttribute="leading" secondItem="xQd-RQ-cMq" secondAttribute="trailing" constant="8" symbolic="YES" id="eSN-ZM-wbI"/>
                                    <constraint firstItem="hBq-6T-efE" firstAttribute="leading" secondItem="cEF-5D-l59" secondAttribute="leading" constant="20" symbolic="YES" id="hKW-4l-WLT"/>
                                    <constraint firstAttribute="bottom" secondItem="UXZ-Oi-NW8" secondAttribute="bottom" id="hov-Nl-Bir"/>
                                    <constraint firstItem="9fv-nj-PFz" firstAttribute="leading" secondItem="vMR-N3-Rxj" secondAttribute="trailing" constant="8" symbolic="YES" id="iEH-Rw-7xn"/>
                                    <constraint firstItem="OuU-bf-WX6" firstAttribute="top" secondItem="cEF-5D-l59" secondAttribute="top" constant="4" id="iOf-rV-f2A"/>
                                    <constraint firstItem="vMR-N3-Rxj" firstAttribute="top" secondItem="cEF-5D-l59" secondAttribute="top" constant="4" id="ked-T1-XOp"/>
                                    <constraint firstItem="lAy-fQ-Mus" firstAttribute="bottom" secondItem="hBq-6T-efE" secondAttribute="bottom" constant="4" id="lIX-Gf-us7"/>
                                    <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="0w1-yG-eRB" secondAttribute="trailing" constant="12" id="mUj-NP-RWO"/>
                                    <constraint firstAttribute="trailing" secondItem="lAy-fQ-Mus" secondAttribute="trailing" id="qfY-vN-hAG"/>
                                    <constraint firstItem="0w1-yG-eRB" firstAttribute="top" secondItem="cEF-5D-l59" secondAttribute="top" constant="4" id="rIw-Fh-D2P"/>


@@ 352,7 386,7 @@
                                        </constraints>
                                        <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="Placeholder" id="udP-zx-Tre"/>
                                    </imageView>
                                    <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="VBU-8f-bth">
                                    <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="VBU-8f-bth">
                                        <rect key="frame" x="78" y="72" width="197" height="16"/>
                                        <textFieldCell key="cell" lineBreakMode="clipping" id="cmE-bx-LGV">
                                            <font key="font" metaFont="system"/>


@@ 360,7 394,7 @@
                                            <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
                                        </textFieldCell>
                                    </textField>
                                    <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="TTJ-6W-yMR">
                                    <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="TTJ-6W-yMR">
                                        <rect key="frame" x="78" y="28" width="197" height="14"/>
                                        <textFieldCell key="cell" lineBreakMode="clipping" id="SQh-0N-x8z">
                                            <font key="font" metaFont="smallSystem"/>


@@ 368,7 402,7 @@
                                            <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
                                        </textFieldCell>
                                    </textField>
                                    <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="EiH-8A-JC1">
                                    <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="EiH-8A-JC1">
                                        <rect key="frame" x="78" y="50" width="197" height="14"/>
                                        <textFieldCell key="cell" lineBreakMode="clipping" id="4yt-b9-Z4t">
                                            <font key="font" metaFont="smallSystem"/>


@@ 388,15 422,15 @@
                                        <subviews>
                                            <button wantsLayer="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="6em-6X-jen">
                                                <rect key="frame" x="38" y="38" width="40" height="40"/>
                                                <constraints>
                                                    <constraint firstAttribute="width" constant="40" id="tHh-rZ-htn"/>
                                                    <constraint firstAttribute="height" constant="40" id="uWc-zB-Ftk"/>
                                                </constraints>
                                                <buttonCell key="cell" type="bevel" bezelStyle="rounded" imagePosition="overlaps" alignment="center" inset="2" id="Xg5-AJ-RBC">
                                                    <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
                                                    <font key="font" textStyle="largeTitle" name=".SFNS-Regular"/>
                                                    <imageReference key="image" image="play.fill" symbolScale="medium"/>
                                                </buttonCell>
                                                <constraints>
                                                    <constraint firstAttribute="width" constant="40" id="tHh-rZ-htn"/>
                                                    <constraint firstAttribute="height" constant="40" id="uWc-zB-Ftk"/>
                                                </constraints>
                                                <accessibility description="Play"/>
                                                <connections>
                                                    <action selector="playButtonClicked:" target="-2" id="gke-EW-Hhz"/>


@@ 404,15 438,15 @@
                                            </button>
                                            <button wantsLayer="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="hHV-yf-3EL">
                                                <rect key="frame" x="8" y="43" width="30" height="30"/>
                                                <constraints>
                                                    <constraint firstAttribute="width" constant="30" id="YWJ-KJ-GYV"/>
                                                    <constraint firstAttribute="height" constant="30" id="bht-yS-W7r"/>
                                                </constraints>
                                                <buttonCell key="cell" type="bevel" bezelStyle="rounded" imagePosition="overlaps" alignment="center" inset="2" id="tHb-BE-KHx">
                                                    <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
                                                    <font key="font" metaFont="system"/>
                                                    <imageReference key="image" image="backward.fill" symbolScale="default"/>
                                                </buttonCell>
                                                <constraints>
                                                    <constraint firstAttribute="width" constant="30" id="YWJ-KJ-GYV"/>
                                                    <constraint firstAttribute="height" constant="30" id="bht-yS-W7r"/>
                                                </constraints>
                                                <accessibility description="Play"/>
                                                <connections>
                                                    <action selector="previousButtonClicked:" target="-2" id="SI7-cl-e1Q"/>


@@ 420,15 454,15 @@
                                            </button>
                                            <button wantsLayer="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="oii-5P-0gx">
                                                <rect key="frame" x="87" y="11" width="20" height="15"/>
                                                <constraints>
                                                    <constraint firstAttribute="width" constant="20" id="PY7-rc-Yo6"/>
                                                    <constraint firstAttribute="height" constant="15" id="h4y-Kr-deC"/>
                                                </constraints>
                                                <buttonCell key="cell" type="bevel" bezelStyle="rounded" imagePosition="overlaps" alignment="center" inset="2" id="7Uv-9E-Hnr">
                                                    <behavior key="behavior" pushIn="YES" changeContents="YES" lightByContents="YES"/>
                                                    <font key="font" metaFont="system"/>
                                                    <imageReference key="image" image="shuffle" symbolScale="default"/>
                                                </buttonCell>
                                                <constraints>
                                                    <constraint firstAttribute="width" constant="20" id="PY7-rc-Yo6"/>
                                                    <constraint firstAttribute="height" constant="15" id="h4y-Kr-deC"/>
                                                </constraints>
                                                <accessibility description="Play"/>
                                                <connections>
                                                    <action selector="randomButtonClicked:" target="-2" id="Hfa-zJ-O5a"/>


@@ 436,15 470,15 @@
                                            </button>
                                            <button wantsLayer="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="RCZ-ri-j8B">
                                                <rect key="frame" x="87" y="28" width="20" height="15"/>
                                                <constraints>
                                                    <constraint firstAttribute="height" constant="15" id="aok-1r-Cux"/>
                                                    <constraint firstAttribute="width" constant="20" id="lMP-DI-iLS"/>
                                                </constraints>
                                                <buttonCell key="cell" type="bevel" bezelStyle="regularSquare" imagePosition="overlaps" alignment="center" allowsMixedState="YES" inset="2" id="LYs-fB-IQr">
                                                    <behavior key="behavior" pushIn="YES" changeContents="YES" lightByContents="YES"/>
                                                    <font key="font" metaFont="system"/>
                                                    <imageReference key="image" image="repeat" symbolScale="default"/>
                                                </buttonCell>
                                                <constraints>
                                                    <constraint firstAttribute="height" constant="15" id="aok-1r-Cux"/>
                                                    <constraint firstAttribute="width" constant="20" id="lMP-DI-iLS"/>
                                                </constraints>
                                                <accessibility description="Play"/>
                                                <connections>
                                                    <action selector="repeatButtonClicked:" target="-2" id="HiC-J8-3I5"/>


@@ 452,15 486,15 @@
                                            </button>
                                            <button wantsLayer="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="iZZ-fA-cDk">
                                                <rect key="frame" x="78" y="43" width="30" height="30"/>
                                                <constraints>
                                                    <constraint firstAttribute="width" constant="30" id="BeW-j7-svH"/>
                                                    <constraint firstAttribute="height" constant="30" id="iiR-I9-mRn"/>
                                                </constraints>
                                                <buttonCell key="cell" type="bevel" bezelStyle="rounded" imagePosition="overlaps" alignment="center" inset="2" id="5b8-VR-16Z">
                                                    <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
                                                    <font key="font" metaFont="system"/>
                                                    <imageReference key="image" image="forward.fill" symbolScale="default"/>
                                                </buttonCell>
                                                <constraints>
                                                    <constraint firstAttribute="width" constant="30" id="BeW-j7-svH"/>
                                                    <constraint firstAttribute="height" constant="30" id="iiR-I9-mRn"/>
                                                </constraints>
                                                <accessibility description="Play"/>
                                                <connections>
                                                    <action selector="nextButtonClicked:" target="-2" id="uP9-5L-B3M"/>


@@ 495,7 529,7 @@
                                            <constraint firstItem="RCZ-ri-j8B" firstAttribute="top" secondItem="iZZ-fA-cDk" secondAttribute="bottom" id="toy-h4-t0x"/>
                                        </constraints>
                                    </customView>
                                    <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="4jt-xf-IYM">
                                    <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="4jt-xf-IYM">
                                        <rect key="frame" x="6" y="7" width="36" height="14"/>
                                        <constraints>
                                            <constraint firstAttribute="width" relation="greaterThanOrEqual" constant="30" id="tzm-Ks-rSb"/>


@@ 506,7 540,7 @@
                                            <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
                                        </textFieldCell>
                                    </textField>
                                    <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="3oy-ZU-bX6">
                                    <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="3oy-ZU-bX6">
                                        <rect key="frame" x="358" y="7" width="36" height="14"/>
                                        <constraints>
                                            <constraint firstAttribute="width" relation="greaterThanOrEqual" constant="30" id="cA4-Kg-8jB"/>

M Sonar/Player/PlayerWindowController.m => Sonar/Player/PlayerWindowController.m +2 -0
@@ 53,7 53,9 @@ typedef enum : NSUInteger {
@property (weak) IBOutlet NSButton *playlistsModeButton;
@property (weak) IBOutlet NSButton *artistsModeButton;
@property (weak) IBOutlet NSButton *albumsModeButton;
@property (weak) IBOutlet NSButton *searchModeButton;
@property (weak) IBOutlet NSButton *songsModeButton;
@property (weak) IBOutlet NSSearchField *searchField;

@property (nonatomic, assign) BOOL isExtraVisible;
@property (strong) IBOutlet NSLayoutConstraint *extraBottomConstraint;