[gnome-contacts] Add padding on the left of icon in list view
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] Add padding on the left of icon in list view
- Date: Fri, 20 Jan 2012 14:50:58 +0000 (UTC)
commit 92a073cf643d7cb05bcbe6646555b02181dd41f3
Author: Alexander Larsson <alexl redhat com>
Date: Fri Jan 20 14:43:21 2012 +0100
Add padding on the left of icon in list view
src/contacts-view.vala | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/contacts-view.vala b/src/contacts-view.vala
index 83c745c..79ac2ef 100644
--- a/src/contacts-view.vala
+++ b/src/contacts-view.vala
@@ -424,13 +424,13 @@ public class Contacts.ViewWidget : TreeView {
selection.changed.connect (contacts_selection_changed);
var column = new TreeViewColumn ();
- column.set_spacing (4);
+ column.set_spacing (8);
var icon = new CellRendererPixbuf ();
icon.set_padding (0, row_padding);
- icon.xalign = 0.0f;
+ icon.xalign = 1.0f;
icon.yalign = 0.0f;
- icon.width = Contact.SMALL_AVATAR_SIZE + 2;
+ icon.width = Contact.SMALL_AVATAR_SIZE + 12;
column.pack_start (icon, false);
column.set_cell_data_func (icon, (column, cell, model, iter) => {
Contact contact;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]