From b23807ec0b2af25b82203138f84276fb65d7941e Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Fri, 20 Oct 2006 16:33:41 +0000 Subject: [PATCH] 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: MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- src/insets/insettabular.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/insets/insettabular.C b/src/insets/insettabular.C index 5b12c948ac..ba2e241cfc 100644 --- a/src/insets/insettabular.C +++ b/src/insets/insettabular.C @@ -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; -- 2.39.2