[gtk+] treeview: Fix positioning of editing widgets
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] treeview: Fix positioning of editing widgets
- Date: Thu, 25 Feb 2016 03:04:43 +0000 (UTC)
commit 9016a00eddbcbf70b3c8bb503439ab60d7da27b1
Author: Benjamin Otte <otte redhat com>
Date: Thu Feb 25 03:57:11 2016 +0100
treeview: Fix positioning of editing widgets
This looks like a thinko.
gtk/gtktreeview.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index c17cca6..47ea9f7 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -2984,7 +2984,7 @@ gtk_tree_view_size_allocate (GtkWidget *widget,
path = _gtk_tree_path_new_from_rbtree (child->tree, child->node);
gtk_tree_view_get_cell_area (tree_view, path, child->column, &child_rect);
child_rect.x += child->border.left;
- child_rect.y += child->border.right;
+ child_rect.y += child->border.top;
child_rect.width -= child->border.left + child->border.right;
child_rect.height -= child->border.top + child->border.bottom;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]