overshooting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10383
a592a061-630c-0410-9148-
cb99ea01b6c8
adjustment->set_page_increment(workAreaHeight - line_height);
// Allow the user half a screen of blank at the end
// to make scrollbar consistant with centering the cursor
- adjustment->set_upper(height + workAreaHeight / 2);
+ adjustment->set_upper(height + workAreaHeight / 4);
adjustment->set_page_size(workAreaHeight);
adjustment->set_value(pos);
adjustment->changed();