Skip to content
Snippets Groups Projects
Commit eccf8aed authored by Nicolas Jager's avatar Nicolas Jager Committed by Alexandre Lision
Browse files

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
parent 1abdf58f
No related branches found
No related tags found
No related merge requests found
data/dark/ic_action_accept.png

420 B | W: | H:

data/dark/ic_action_accept.png

254 B | W: | H:

data/dark/ic_action_accept.png
data/dark/ic_action_accept.png
data/dark/ic_action_accept.png
data/dark/ic_action_accept.png
  • 2-up
  • Swipe
  • Onion skin
data/dark/ic_action_cancel.png

438 B | W: | H:

data/dark/ic_action_cancel.png

309 B | W: | H:

data/dark/ic_action_cancel.png
data/dark/ic_action_cancel.png
data/dark/ic_action_cancel.png
data/dark/ic_action_cancel.png
  • 2-up
  • Swipe
  • Onion skin
data/dark/ic_action_transfer.png

460 B | W: | H:

data/dark/ic_action_transfer.png

941 B | W: | H:

data/dark/ic_action_transfer.png
data/dark/ic_action_transfer.png
data/dark/ic_action_transfer.png
data/dark/ic_action_transfer.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -33,7 +33,7 @@
}
if (self.imageInsets == 0)
self.imageInsets = 5.0f;
self.imageInsets = 8.0f;
}
- (void)drawRect:(NSRect)dirtyRect
......
<?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"/>
......
This diff is collapsed.
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment