mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 05:40:59 +00:00
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:
parent
ce2cab2732
commit
6fb13068e3
@ -1,6 +1,8 @@
|
|||||||
2004-11-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
2004-11-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
||||||
|
|
||||||
* GSendto.C: Disable concept checks (see below)
|
* 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>
|
2004-11-21 John Spray <spray_john@users.sourceforge.net>
|
||||||
|
|
||||||
|
@ -344,7 +344,7 @@ void GWorkArea::setScrollbarParams(int height, int pos, int line_height)
|
|||||||
adjustment->changed();
|
adjustment->changed();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
adjustment->set_step_increment(line_height);
|
adjustment->set_step_increment(line_height * 3);
|
||||||
adjustment->set_page_increment(workAreaHeight - line_height);
|
adjustment->set_page_increment(workAreaHeight - line_height);
|
||||||
// Allow the user half a screen of blank at the end
|
// Allow the user half a screen of blank at the end
|
||||||
// to make scrollbar consistant with centering the cursor
|
// to make scrollbar consistant with centering the cursor
|
||||||
|
Loading…
Reference in New Issue
Block a user