aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/table/ChangeLog9
-rw-r--r--widgets/table/e-cell-text.c7
2 files changed, 15 insertions, 1 deletions
diff --git a/widgets/table/ChangeLog b/widgets/table/ChangeLog
index 6bb2698e4e..3222b833a9 100644
--- a/widgets/table/ChangeLog
+++ b/widgets/table/ChangeLog
@@ -1,3 +1,12 @@
+2006-03-01 Simon Zheng <simon.zheng@sun.com>
+
+ ** Fixes bug #331400
+
+ * e-cell-text.c: (ect_print_height): Table item height is decided
+ by the max cell height in item. And cell-text is just one of cells.
+ As done by ect_print(), to leave some margin for text, 2 for footer,
+ 2 for header, actual print height should be 16 + 4.
+
2006-02-24 Srinivasa Ragavan <sragavan@novell.com>
** Fixes bug #332408
diff --git a/widgets/table/e-cell-text.c b/widgets/table/e-cell-text.c
index db66f13550..a446a69522 100644
--- a/widgets/table/e-cell-text.c
+++ b/widgets/table/e-cell-text.c
@@ -1370,7 +1370,12 @@ ect_print_height (ECellView *ecell_view, GnomePrintContext *context,
int model_col, int view_col, int row,
double width)
{
- return 16;
+ /*
+ * Font size is 16 by default. To leave some margin for cell
+ * text area, 2 for footer, 2 for header, actual print height
+ * should be 16 + 4.
+` */
+ return 16 + 4;
}
static int
jbeich2016-11-051-2/+3 * - Switch waf to verbose builds as wellamdmi32016-10-141-4/+0 * Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.mat2016-04-011-3/+3 * Convert LICENSE= "GPLxx # or later" to "GPLxx+"amdmi32016-01-131-1/+1 * - Strip libraryamdmi32015-06-021-0/+2 * Add a new USES=waf to handle the waf building system, allowing to factorise codebapt2015-04-081-18/+4 * audio/slv2: Set the make environment on the do-build targetmarino2015-02-201-5/+7 * Cleanup plistbapt2014-10-201-1/+0 * - Convert ports from audio/ to new USES=pythonmva2014-10-19