[gnome-documents/wip/ui-changes: 18/25] list-view: tweak paddings a bit
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents/wip/ui-changes: 18/25] list-view: tweak paddings a bit
- Date: Sat, 3 Mar 2012 00:27:44 +0000 (UTC)
commit ffff42e38ce7cfbe60081e5b3ff6434e60af38fe
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Mar 1 19:02:20 2012 -0500
list-view: tweak paddings a bit
src/lib/gd-main-list-view.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/lib/gd-main-list-view.c b/src/lib/gd-main-list-view.c
index 7b9fd51..5c4ff18 100644
--- a/src/lib/gd-main-list-view.c
+++ b/src/lib/gd-main-list-view.c
@@ -101,6 +101,7 @@ gd_main_list_view_constructed (GObject *obj)
g_object_set (cell,
"visible", FALSE,
"xpad", 12,
+ "xalign", 1.0,
NULL);
gtk_tree_view_column_pack_start (self->priv->tree_col, cell, FALSE);
gtk_tree_view_column_add_attribute (self->priv->tree_col, cell,
@@ -110,6 +111,8 @@ gd_main_list_view_constructed (GObject *obj)
g_object_set (cell,
"xalign", 0.5,
"yalign", 0.5,
+ "xpad", 12,
+ "ypad", 2,
NULL);
gtk_tree_view_column_pack_start (self->priv->tree_col, cell, FALSE);
gtk_tree_view_column_add_attribute (self->priv->tree_col, cell,
@@ -122,7 +125,7 @@ gd_main_list_view_constructed (GObject *obj)
"xpad", 12,
"text-lines", 2,
NULL);
- gtk_tree_view_column_pack_start (self->priv->tree_col, cell, FALSE);
+ gtk_tree_view_column_pack_start (self->priv->tree_col, cell, TRUE);
gtk_tree_view_column_add_attribute (self->priv->tree_col, cell,
"text", GD_MAIN_COLUMN_TITLE);
gtk_tree_view_column_add_attribute (self->priv->tree_col, cell,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]