[gnome-todo] grid thumbnail: adjust selection check position
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo] grid thumbnail: adjust selection check position
- Date: Thu, 6 Oct 2016 02:49:36 +0000 (UTC)
commit 95dcf29617fa254bbe586791a946be443137eb70
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed Oct 5 23:50:29 2016 -0300
grid thumbnail: adjust selection check position
src/views/gtd-list-selector-grid-item.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/views/gtd-list-selector-grid-item.c b/src/views/gtd-list-selector-grid-item.c
index 02bfbf8..c930d64 100644
--- a/src/views/gtd-list-selector-grid-item.c
+++ b/src/views/gtd-list-selector-grid-item.c
@@ -236,8 +236,8 @@ gtd_list_selector_grid_item__render_thumbnail (GtdListSelectorGridItem *item)
gtk_render_check (context,
cr,
- THUMBNAIL_SIZE - CHECK_SIZE * 1.5,
- THUMBNAIL_SIZE - CHECK_SIZE,
+ THUMBNAIL_SIZE - CHECK_SIZE - padding.right - margin.right,
+ THUMBNAIL_SIZE - CHECK_SIZE - padding.bottom,
CHECK_SIZE,
CHECK_SIZE);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]