Martin Vermeer wrote: > Ah. But I remember that was in a quite different part of the code, right?
Don't think so. These were the changes: diff -u -r1.465 -r1.466 --- lyx-devel/src/insets/insettabular.C 2005/05/12 12:22:37 1.465 +++ lyx-devel/src/insets/insettabular.C 2005/06/16 15:20:09 1.466 @@ -246,10 +246,11 @@ Dimension dim; MetricsInfo m = mi; LyXLength p_width = tabular.column_info[j].p_width; - if (!p_width.zero()) { + if (!p_width.zero()) m.base.textwidth = p_width.inPixels(mi.base.textwidth); - } tabular.getCellInset(cell)->metrics(m, dim); + if (!p_width.zero()) + dim.wid = m.base.textwidth; maxAsc = max(maxAsc, dim.asc); maxDesc = max(maxDesc, dim.des); tabular.setWidthOfCell(cell, dim.wid); Jürgen