tweak scrolling in gtk workarea

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9291 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Spray 2004-11-22 17:44:50 +00:00
parent ce2cab2732
commit 6fb13068e3
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
2004-11-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* GSendto.C: Disable concept checks (see below)
* GWorkArea.C: Set small scrolling interval to 3*lineheight
as opposed to 1*lineheight
2004-11-21 John Spray <spray_john@users.sourceforge.net>

View File

@ -344,7 +344,7 @@ void GWorkArea::setScrollbarParams(int height, int pos, int line_height)
adjustment->changed();
return;
}
adjustment->set_step_increment(line_height);
adjustment->set_step_increment(line_height * 3);
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