[gnome-contacts] ContactsEditor: update widgets alignment and spacing
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] ContactsEditor: update widgets alignment and spacing
- Date: Fri, 19 Jul 2013 14:18:29 +0000 (UTC)
commit 612d9286149e2d181bcfeb41e41d452edb49d330
Author: Erick Pérez Castellanos <erick red gmail com>
Date: Fri Jul 19 09:17:43 2013 -0400
ContactsEditor: update widgets alignment and spacing
src/contacts-contact-editor.vala | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/contacts-contact-editor.vala b/src/contacts-contact-editor.vala
index 7839dd6..3a9c1fc 100644
--- a/src/contacts-contact-editor.vala
+++ b/src/contacts-contact-editor.vala
@@ -240,7 +240,7 @@ public class Contacts.ContactEditor : Grid {
var value_entry = new Entry ();
value_entry.set_text (value);
value_entry.set_hexpand (true);
- attach (value_entry, 1, row, 2, 1);
+ attach (value_entry, 1, row, 1, 1);
var delete_button = new Button ();
var image = new Image.from_icon_name ("user-trash-symbolic", IconSize.MENU);
@@ -274,7 +274,7 @@ public class Contacts.ContactEditor : Grid {
var value_entry = new Entry ();
value_entry.set_text (value);
value_entry.set_hexpand (true);
- attach (value_entry, 1, row, 2, 1);
+ attach (value_entry, 1, row, 1, 1);
var delete_button = new Button ();
var image = new Image.from_icon_name ("user-trash-symbolic", IconSize.MENU);
@@ -312,7 +312,7 @@ public class Contacts.ContactEditor : Grid {
value_text.set_hexpand (true);
value_text.get_style_context ().add_class ("contacts-entry");
sw.add (value_text);
- attach (sw, 1, row, 2, 1);
+ attach (sw, 1, row, 1, 1);
var delete_button = new Button ();
var image = new Image.from_icon_name ("user-trash-symbolic", IconSize.MENU);
@@ -370,7 +370,7 @@ public class Contacts.ContactEditor : Grid {
box.add (day_spin);
box.add (combo);
- attach (box, 1, row, 2, 1);
+ attach (box, 1, row, 1, 1);
var delete_button = new Button ();
var image = new Image.from_icon_name ("user-trash-symbolic", IconSize.MENU);
@@ -398,7 +398,7 @@ public class Contacts.ContactEditor : Grid {
attach (combo, 0, row, 1, 1);
var value_address = new AddressEditor (details);
- attach (value_address, 1, row, 2, 1);
+ attach (value_address, 1, row, 1, 1);
var delete_button = new Button ();
var image = new Image.from_icon_name ("user-trash-symbolic", IconSize.MENU);
@@ -643,7 +643,7 @@ public class Contacts.ContactEditor : Grid {
public ContactEditor () {
set_row_spacing (12);
- set_column_spacing (16);
+ set_column_spacing (12);
writable_personas = new HashMap<Persona, HashMap<string, Field?> > ();
}
@@ -688,7 +688,7 @@ public class Contacts.ContactEditor : Grid {
store_name.set_halign (Align.START);
store_name.xalign = 0.0f;
store_name.margin_left = 6;
- attach (store_name, 0, i, 1, 1);
+ attach (store_name, 0, i, 2, 1);
last_store_position = ++i;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]