]> git.lyx.org Git - features.git/commit
Fix bug #7662: Incorrect scrolling for rows with larger ascent.
authorVincent van Ravesteijn <vfr@lyx.org>
Wed, 17 Aug 2011 10:44:50 +0000 (10:44 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Wed, 17 Aug 2011 10:44:50 +0000 (10:44 +0000)
commitd631fe00017b5ee9bd3c8350c074f9e7567fbaca
tree68a33bef92da839cb796e606e8932e331e77a1f8
parentc29d13569e6edcb4a79db9e2a1ec94683d21abd4
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.

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