ui: update icons
- use same set of icons than in other clients
- use predefined sizes for buttons and icon padding
large button: 56x56, 16 padding
medium button: 40x40, 8 padding
small button: 30x30, 6 padding
Tuleap: #354
Change-Id: Ic3a01665e666419ae10a9f36955669149d8e5c01
diff --git a/ui/Base.lproj/Conversation.xib b/ui/Base.lproj/Conversation.xib
index f29b95d..415517d 100644
--- a/ui/Base.lproj/Conversation.xib
+++ b/ui/Base.lproj/Conversation.xib
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="9531" systemVersion="15B42" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="9532" systemVersion="15D21" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
- <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="9531"/>
+ <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="9532"/>
</dependencies>
<objects>
<customObject id="-2" userLabel="File's Owner" customClass="ConversationVC">
@@ -148,9 +148,6 @@
<font key="font" metaFont="system"/>
</buttonCell>
<userDefinedRuntimeAttributes>
- <userDefinedRuntimeAttribute type="number" keyPath="imageInsets">
- <integer key="value" value="8"/>
- </userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="color" keyPath="highlightColor">
<color key="value" red="0.16862745100000001" green="0.70588235290000001" blue="0.78823529410000004" alpha="1" colorSpace="calibratedRGB"/>
</userDefinedRuntimeAttribute>
@@ -206,26 +203,6 @@
<action selector="placeCall:" target="-2" id="2h9-fM-gof"/>
</connections>
</button>
- <button verticalHuggingPriority="750" ambiguous="YES" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="UJf-cF-RAo" customClass="IconButton">
- <rect key="frame" x="698" y="5" width="40" height="40"/>
- <constraints>
- <constraint firstAttribute="width" constant="40" id="TmF-ip-m4C"/>
- <constraint firstAttribute="height" constant="40" id="rbQ-lE-sAq"/>
- </constraints>
- <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_action_send" imagePosition="overlaps" alignment="center" transparent="YES" imageScaling="proportionallyDown" inset="2" id="s6a-eK-t3T">
- <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
- <font key="font" metaFont="system"/>
- </buttonCell>
- <userDefinedRuntimeAttributes>
- <userDefinedRuntimeAttribute type="number" keyPath="imageInsets">
- <integer key="value" value="8"/>
- </userDefinedRuntimeAttribute>
- </userDefinedRuntimeAttributes>
- <connections>
- <action selector="sendMessage:" target="-2" id="5Cf-jA-eJM"/>
- <binding destination="-2" name="enabled" keyPath="self.message.length" id="ZmZ-2N-CPX"/>
- </connections>
- </button>
<textField verticalHuggingPriority="750" ambiguous="YES" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="bsk-Gj-qQ2">
<rect key="frame" x="68" y="5" width="622" height="40"/>
<constraints>
@@ -248,6 +225,21 @@
<outlet property="delegate" destination="-2" id="2u2-D4-htz"/>
</connections>
</textField>
+ <button verticalHuggingPriority="750" ambiguous="YES" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="UJf-cF-RAo" customClass="IconButton">
+ <rect key="frame" x="698" y="5" width="40" height="40"/>
+ <constraints>
+ <constraint firstAttribute="width" constant="40" id="TmF-ip-m4C"/>
+ <constraint firstAttribute="height" constant="40" id="rbQ-lE-sAq"/>
+ </constraints>
+ <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_action_send" imagePosition="overlaps" alignment="center" transparent="YES" imageScaling="proportionallyDown" inset="2" id="s6a-eK-t3T">
+ <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
+ <font key="font" metaFont="system"/>
+ </buttonCell>
+ <connections>
+ <action selector="sendMessage:" target="-2" id="5Cf-jA-eJM"/>
+ <binding destination="-2" name="enabled" keyPath="self.message.length" id="ZmZ-2N-CPX"/>
+ </connections>
+ </button>
</subviews>
<constraints>
<constraint firstItem="cFH-d7-Erh" firstAttribute="top" secondItem="Rth-di-Tls" secondAttribute="top" constant="5" id="2zJ-2h-dLg"/>