Commit 56165469 authored by Jose Blaya's avatar Jose Blaya
Browse files

Update size of buttons in quick settings tile

parent a25bc258
......@@ -25,49 +25,6 @@
<rect key="frame" x="0.0" y="0.0" width="375" height="89"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" distribution="fillEqually" spacing="20" translatesAutoresizingMaskIntoConstraints="NO" id="0Qp-uW-eAj">
<rect key="frame" x="20" y="20" width="335" height="30"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="KWs-z3-TeP">
<rect key="frame" x="0.0" y="0.0" width="98.5" height="30"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="5Bu-uZ-L11">
<rect key="frame" x="0.0" y="0.0" width="98.5" height="30"/>
<state key="normal" image="theme-dark-active"/>
<connections>
<action selector="changeTheme:" destination="-1" eventType="touchUpInside" id="yMQ-vt-Pvt"/>
</connections>
</button>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="Wag-UL-Rel">
<rect key="frame" x="118.5" y="0.0" width="98" height="30"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="aBB-hV-AgG">
<rect key="frame" x="0.0" y="0.0" width="98" height="30"/>
<state key="normal" image="killswitch-dark-active"/>
<connections>
<action selector="updateKillSwitchSetting:" destination="-1" eventType="touchUpInside" id="ELb-to-qnb"/>
</connections>
</button>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="JhW-YA-L3b">
<rect key="frame" x="236.5" y="0.0" width="98.5" height="30"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="gaA-K4-g4k">
<rect key="frame" x="0.0" y="0.0" width="98.5" height="30"/>
<connections>
<action selector="updateNMTSetting:" destination="-1" eventType="touchUpInside" id="BKD-oU-Cab"/>
</connections>
</button>
</subviews>
</stackView>
</subviews>
<constraints>
<constraint firstAttribute="height" constant="30" id="u9s-HP-1rj"/>
</constraints>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" distribution="fillEqually" spacing="20" translatesAutoresizingMaskIntoConstraints="NO" id="3rE-WN-iPM">
<rect key="frame" x="20" y="40" width="335" height="49"/>
<subviews>
......@@ -106,13 +63,56 @@
</stackView>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" distribution="fillEqually" spacing="20" translatesAutoresizingMaskIntoConstraints="NO" id="0Qp-uW-eAj">
<rect key="frame" x="20" y="0.0" width="335" height="50"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="KWs-z3-TeP">
<rect key="frame" x="0.0" y="0.0" width="98.5" height="50"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="bottom" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="5Bu-uZ-L11">
<rect key="frame" x="0.0" y="0.0" width="98.5" height="50"/>
<state key="normal" image="theme-dark-active"/>
<connections>
<action selector="changeTheme:" destination="-1" eventType="touchUpInside" id="yMQ-vt-Pvt"/>
</connections>
</button>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="Wag-UL-Rel">
<rect key="frame" x="118.5" y="0.0" width="98" height="50"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="bottom" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="aBB-hV-AgG">
<rect key="frame" x="0.0" y="0.0" width="98" height="50"/>
<state key="normal" image="killswitch-dark-active"/>
<connections>
<action selector="updateKillSwitchSetting:" destination="-1" eventType="touchUpInside" id="ELb-to-qnb"/>
</connections>
</button>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="JhW-YA-L3b">
<rect key="frame" x="236.5" y="0.0" width="98.5" height="50"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="bottom" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="gaA-K4-g4k">
<rect key="frame" x="0.0" y="0.0" width="98.5" height="50"/>
<connections>
<action selector="updateNMTSetting:" destination="-1" eventType="touchUpInside" id="BKD-oU-Cab"/>
</connections>
</button>
</subviews>
</stackView>
</subviews>
<constraints>
<constraint firstAttribute="height" constant="50" id="u9s-HP-1rj"/>
</constraints>
</stackView>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="3rE-WN-iPM" secondAttribute="trailing" constant="20" id="2jF-Y3-p2e"/>
<constraint firstItem="3rE-WN-iPM" firstAttribute="top" secondItem="0Qp-uW-eAj" secondAttribute="bottom" constant="-10" id="L7O-d9-WTg"/>
<constraint firstItem="3rE-WN-iPM" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" constant="20" id="OQV-cq-0dd"/>
<constraint firstItem="0Qp-uW-eAj" firstAttribute="top" secondItem="vUN-kp-3ea" secondAttribute="top" constant="20" id="XiF-Dl-GOz"/>
<constraint firstItem="0Qp-uW-eAj" firstAttribute="top" secondItem="vUN-kp-3ea" secondAttribute="top" id="XiF-Dl-GOz"/>
<constraint firstItem="0Qp-uW-eAj" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" constant="20" id="csA-Ky-er2"/>
<constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="0Qp-uW-eAj" secondAttribute="trailing" constant="20" id="oOS-xB-q3f"/>
<constraint firstItem="vUN-kp-3ea" firstAttribute="bottom" secondItem="3rE-WN-iPM" secondAttribute="bottom" id="vUh-Q0-fmE"/>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment