changeset 15968:0ab73bf1fef1

check-items are wider.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Thu, 29 Mar 2007 20:30:00 +0000
parents e0cfde70d839
children 43182e0e58c0
files finch/libgnt/gnttree.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/finch/libgnt/gnttree.c	Thu Mar 29 17:19:57 2007 +0000
+++ b/finch/libgnt/gnttree.c	Thu Mar 29 20:30:00 2007 +0000
@@ -1473,6 +1473,8 @@
 		for (i = 0, iter = row->columns; iter; iter = iter->next, i++) {
 			GntTreeCol *col = iter->data;
 			int w = gnt_util_onscreen_width(col->text, NULL);
+			if (i == 0 && row->choice)
+				w += 4;
 			if (widths[i] < w)
 				widths[i] = w;
 		}