]> git.lyx.org Git - features.git/commit
branch: Fix bug #7662: Incorrect scrolling for rows with larger ascent.
authorVincent van Ravesteijn <vfr@lyx.org>
Wed, 26 Oct 2011 13:35:47 +0000 (13:35 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Wed, 26 Oct 2011 13:35:47 +0000 (13:35 +0000)
commit269e688857023606f99c9ccde50e3b53a3221af8
treeff074282959ebb63032552baf85345dc4009f6c1
parent535867bb5f1bc3818acd88d8994920a6d36b66d2
branch: Fix bug #7662: Incorrect scrolling for rows with larger ascent.

- After introducing the displayed vertical alignment for tables, we met for the first time situations in which row.ascent is very large. To make sure the scrolling still works, we have to do the same as we did for rows with a large descent.
- change row.ascent into defaultRowHeight. Before the above mentioned change, row.ascent usually was approximately the same as defaultRowHeight (by chance). However, it is now clear we don't really want row.ascent here.

see r39486.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40009 a592a061-630c-0410-9148-cb99ea01b6c8
src/BufferView.cpp