Mercurial > geeqie
changeset 1369:dc1768a8af01
Align exif labels vertically (visually better since name is now smaller than value).
author | zas_ |
---|---|
date | Sun, 01 Mar 2009 23:38:36 +0000 |
parents | bbd3a85a0534 |
children | 0011d6859ec5 |
files | src/bar_exif.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/bar_exif.c Sun Mar 01 23:28:53 2009 +0000 +++ b/src/bar_exif.c Sun Mar 01 23:38:36 2009 +0000 @@ -95,7 +95,7 @@ G_CALLBACK(bar_pane_exif_entry_destroy), ee); ee->title_label = gtk_label_new(NULL); - gtk_misc_set_alignment(GTK_MISC(ee->title_label), 1.0, 0.0); + gtk_misc_set_alignment(GTK_MISC(ee->title_label), 1.0, 0.5); gtk_size_group_add_widget(ped->size_group, ee->title_label); gtk_box_pack_start(GTK_BOX(ee->hbox), ee->title_label, FALSE, TRUE, 0); gtk_widget_show(ee->title_label); @@ -104,7 +104,7 @@ // gtk_label_set_width_chars(GTK_LABEL(ee->value_label), 20); gtk_label_set_ellipsize(GTK_LABEL(ee->value_label), PANGO_ELLIPSIZE_END); // gtk_widget_set_size_request(ee->value_label, 100, -1); - gtk_misc_set_alignment(GTK_MISC(ee->value_label), 0.0, 0.0); + gtk_misc_set_alignment(GTK_MISC(ee->value_label), 0.0, 0.5); gtk_box_pack_start(GTK_BOX(ee->hbox), ee->value_label, TRUE, TRUE, 1); gtk_widget_show(ee->value_label);