[gthumb] grid view: put the caption always at the same height
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] grid view: put the caption always at the same height
- Date: Tue, 31 Jan 2012 21:36:22 +0000 (UTC)
commit 5e51111691b440311bffb5b03157a5c013ab08da
Author: Paolo Bacchilega <paobac src gnome org>
Date: Tue Jan 31 22:23:30 2012 +0100
grid view: put the caption always at the same height
it was a little bit higher for video thumbnails
gthumb/gth-grid-view.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gth-grid-view.c b/gthumb/gth-grid-view.c
index 2ab80ca..fba658c 100644
--- a/gthumb/gth-grid-view.c
+++ b/gthumb/gth-grid-view.c
@@ -673,7 +673,7 @@ _gth_grid_view_place_item_at (GthGridView *self,
item->pixbuf_area.y = item->thumbnail_area.y + ((item->thumbnail_area.height - item->pixbuf_area.height) / 2);
item->caption_area.x = item->area.x + self->priv->cell_padding;
- item->caption_area.y = item->area.y + self->priv->cell_padding + item->thumbnail_area.height + self->priv->caption_spacing;
+ item->caption_area.y = item->area.y + self->priv->cell_size - self->priv->cell_padding + self->priv->caption_spacing;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]