]> git.r.bdr.sh - rbdr/Flat-Bezel.qsplugin/commitdiff
Use an SF Symbol for the arrow
authorRuben Beltran del Rio <redacted>
Fri, 10 Feb 2023 18:03:16 +0000 (19:03 +0100)
committerRuben Beltran del Rio <redacted>
Fri, 10 Feb 2023 18:03:16 +0000 (19:03 +0100)
Flat Bezel/BBFlatBezelInterface.xib

index 3aa05ea027e2f50ccad9552eb885cb0222418338..b3039c6cb4ab9ccd2b330743a2bea379672f9ebc 100644 (file)
@@ -9,7 +9,6 @@
         <customObject id="-2" userLabel="File's Owner" customClass="BBFlatBezelInterface">
             <connections>
                 <outlet property="aSelector" destination="69" id="79"/>
-                <outlet property="commandView" destination="191" id="207"/>
                 <outlet property="dSelector" destination="68" id="75"/>
                 <outlet property="iSelector" destination="70" id="80"/>
                 <outlet property="menuButton" destination="209" id="210"/>
                         </constraints>
                     </progressIndicator>
                     <button translatesAutoresizingMaskIntoConstraints="NO" id="209" customClass="QSMenuButton">
-                        <rect key="frame" x="584" y="176" width="16" height="16"/>
+                        <rect key="frame" x="584" y="173.5" width="16" height="21"/>
                         <constraints>
                             <constraint firstAttribute="height" constant="16" id="cvg-xh-bvD"/>
                             <constraint firstAttribute="width" constant="16" id="w12-Bf-x2f"/>
                         </constraints>
-                        <buttonCell key="cell" type="square" title="▾" bezelStyle="shadowlessSquare" alignment="center" transparent="YES" inset="2" id="216">
-                            <behavior key="behavior" lightByContents="YES"/>
+                        <buttonCell key="cell" type="bevel" bezelStyle="rounded" image="arrowtriangle.down.square.fill" catalog="system" imagePosition="only" alignment="center" inset="2" id="216">
+                            <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
                             <font key="font" metaFont="system"/>
                         </buttonCell>
-                        <color key="contentTintColor" name="labelColor" catalog="System" colorSpace="catalog"/>
+                        <color key="contentTintColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/>
                     </button>
-                    <textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="191">
-                        <rect key="frame" x="582" y="176" width="20" height="16"/>
-                        <constraints>
-                            <constraint firstAttribute="height" constant="16" id="Yy8-MR-Hc2"/>
-                            <constraint firstAttribute="width" constant="16" id="coj-vh-kaj"/>
-                        </constraints>
-                        <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" state="on" alignment="center" title="⏷" id="214">
-                            <font key="font" metaFont="system"/>
-                            <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
-                            <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
-                        </textFieldCell>
-                    </textField>
                 </subviews>
                 <constraints>
                     <constraint firstItem="209" firstAttribute="top" secondItem="6" secondAttribute="top" constant="8" id="1uj-pU-uJB"/>
                     <constraint firstItem="70" firstAttribute="leading" secondItem="69" secondAttribute="trailing" constant="8" id="3iK-bw-ky1"/>
                     <constraint firstAttribute="bottom" secondItem="192" secondAttribute="bottom" constant="8" id="ASY-5E-0bJ"/>
-                    <constraint firstAttribute="trailing" secondItem="191" secondAttribute="trailing" constant="8" id="EMC-Sk-VX7"/>
                     <constraint firstAttribute="trailing" secondItem="192" secondAttribute="trailing" constant="8" id="S36-iH-Apn"/>
                     <constraint firstItem="69" firstAttribute="leading" secondItem="68" secondAttribute="trailing" constant="8" id="VOZ-kp-hVQ"/>
                     <constraint firstAttribute="trailing" secondItem="209" secondAttribute="trailing" constant="8" id="ZBS-80-x88"/>
                     <constraint firstItem="69" firstAttribute="top" secondItem="6" secondAttribute="top" constant="8" id="Zec-BE-M9X"/>
                     <constraint firstItem="70" firstAttribute="top" secondItem="6" secondAttribute="top" constant="8" id="jQN-Vd-Qm0"/>
-                    <constraint firstItem="191" firstAttribute="top" secondItem="209" secondAttribute="bottom" constant="-16" id="jqz-xK-7Wg"/>
                     <constraint firstItem="68" firstAttribute="leading" secondItem="6" secondAttribute="leading" constant="8" id="m72-ls-RGc"/>
                     <constraint firstItem="68" firstAttribute="top" secondItem="6" secondAttribute="top" constant="8" id="msf-m2-n1U"/>
                 </constraints>
             <point key="canvasLocation" x="76" y="-42"/>
         </window>
     </objects>
+    <resources>
+        <image name="arrowtriangle.down.square.fill" catalog="system" width="15" height="14"/>
+    </resources>
 </document>