mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
This commit re-enable the table adjustment with screen whenever the table is bigger than the screen. Here is some explanation form Georg about the setPos() method:
I believe that it is for horizontal "scrolling": If you have a table that is wider than the screen and you go to a cell that is at the right edge then, if you are lucky, the table is shifted to the left so that you can edit the cell and even go further right. This does however not work reliably. If I am right then the variable name scx_ would make some sense: sc for scrolling. The ChangeLog comments also seem to point in this direction. And most of them were done by Jürgen Vigna who is AFAIK in Denmark. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15414 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ffe7cb1b78
commit
b23807ec0b
@ -316,7 +316,7 @@ void InsetTabular::draw(PainterInfo & pi, int x, int y) const
|
||||
static lyx::frontend::NullPainter nop;
|
||||
static PainterInfo nullpi(bv, nop);
|
||||
|
||||
//resetPos(bv->cursor());
|
||||
resetPos(bv->cursor());
|
||||
|
||||
x += scx_;
|
||||
x += ADD_TO_TABULAR_WIDTH;
|
||||
|
Loading…
Reference in New Issue
Block a user