[gthumb] grid view: align the caption to the left and use a smaller font
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] grid view: align the caption to the left and use a smaller font
- Date: Thu, 2 Aug 2012 12:33:48 +0000 (UTC)
commit d86d86d7c512cd8998ac971e1866958043ae0d9e
Author: Paolo Bacchilega <paobac src gnome org>
Date: Mon May 7 17:24:14 2012 +0200
grid view: align the caption to the left and use a smaller font
gthumb/gth-grid-view.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gthumb/gth-grid-view.c b/gthumb/gth-grid-view.c
index 882a1fd..8d14130 100644
--- a/gthumb/gth-grid-view.c
+++ b/gthumb/gth-grid-view.c
@@ -249,8 +249,8 @@ gth_grid_view_item_set_thumbnail (GthGridViewItem *item,
#define MAX_TEXT_LENGTH 70
-#define ODD_ROW_ATTR_STYLE ""
-#define EVEN_ROW_ATTR_STYLE " style='italic'"
+#define ODD_ROW_ATTR_STYLE " size='small'"
+#define EVEN_ROW_ATTR_STYLE " size='small' style='italic'"
static void
@@ -1012,7 +1012,7 @@ gth_grid_view_realize (GtkWidget *widget)
self->priv->caption_layout = gtk_widget_create_pango_layout (widget, NULL);
pango_layout_set_wrap (self->priv->caption_layout, PANGO_WRAP_WORD_CHAR);
- pango_layout_set_alignment (self->priv->caption_layout, PANGO_ALIGN_CENTER);
+ pango_layout_set_alignment (self->priv->caption_layout, PANGO_ALIGN_LEFT);
pango_layout_set_spacing (self->priv->caption_layout, CAPTION_LINE_SPACING);
/**/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]