mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 22:29:25 +02:00
IDE, adjusted objectinspector scrollbar scroller to make it consistent, from Anton, issue #22748
git-svn-id: trunk@40340 -
This commit is contained in:
parent
324d155e3e
commit
5af59d494c
@ -980,7 +980,7 @@ begin
|
||||
ScrollInfo.nMin := 0;
|
||||
ScrollInfo.nTrackPos := 0;
|
||||
ScrollInfo.nMax := ATopMax+ClientHeight-1;
|
||||
ScrollInfo.nPage := ClientHeight;
|
||||
ScrollInfo.nPage := ClientHeight-1;
|
||||
if ScrollInfo.nPage<1 then ScrollInfo.nPage:=1;
|
||||
if TopY > ATopMax then TopY:=ATopMax;
|
||||
ScrollInfo.nPos := TopY;
|
||||
|
Loading…
Reference in New Issue
Block a user