aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-info-label.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2008-08-30 19:40:20 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2008-08-30 19:40:20 +0800
commit229beeeac3b22293ef73261a421b3f80fa6c6286 (patch)
tree3d8880a40ac745a3dd3b59a1520fe67d08d5a17c /widgets/misc/e-info-label.c
parent708de6410b2535147fe0a2a3298fdd204919d3ec (diff)
downloadgsoc2013-evolution-229beeeac3b22293ef73261a421b3f80fa6c6286.tar.gz
gsoc2013-evolution-229beeeac3b22293ef73261a421b3f80fa6c6286.tar.zst
gsoc2013-evolution-229beeeac3b22293ef73261a421b3f80fa6c6286.zip
Fix vertical alignment of labels.
2008-08-30 Matthew Barnes <mbarnes@redhat.com> * widgets/misc/e-info-label.c (e_info_label_set_info): Fix vertical alignment of labels. svn path=/trunk/; revision=36217
Diffstat (limited to 'widgets/misc/e-info-label.c')
-rw-r--r--widgets/misc/e-info-label.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/misc/e-info-label.c b/widgets/misc/e-info-label.c
index 4c3c04069f..38b2368b1d 100644
--- a/widgets/misc/e-info-label.c
+++ b/widgets/misc/e-info-label.c
@@ -215,11 +215,11 @@ e_info_label_set_info(EInfoLabel *el, const char *location, const char *info)
el->info = gtk_label_new (NULL);
gtk_label_set_ellipsize (GTK_LABEL (el->location), PANGO_ELLIPSIZE_END);
- gtk_misc_set_alignment (GTK_MISC (el->location), 0.0, 0.0);
+ gtk_misc_set_alignment (GTK_MISC (el->location), 0.0, 0.5);
gtk_misc_set_padding (GTK_MISC (el->location), 0, 6);
gtk_label_set_ellipsize (GTK_LABEL (el->info), PANGO_ELLIPSIZE_MIDDLE);
- gtk_misc_set_alignment (GTK_MISC (el->info), 1.0, 1.0);
+ gtk_misc_set_alignment (GTK_MISC (el->info), 1.0, 0.5);
gtk_misc_set_padding (GTK_MISC (el->info), 0, 6);
gtk_widget_show (el->location);