mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
columnWidth returns the col width of a cell, which is not what we want here (should fix tables flying of the screen)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34647 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
732e1cfed7
commit
7b51fb74a7
@ -4711,7 +4711,7 @@ int InsetTabular::cellXPos(idx_type const cell) const
|
||||
col_type col = tabular.cellColumn(cell);
|
||||
int lx = 0;
|
||||
for (col_type c = 0; c < col; ++c)
|
||||
lx += tabular.columnWidth(c);
|
||||
lx += tabular.column_info[c].width;
|
||||
|
||||
return lx;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user