mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 12:12: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.nMin := 0;
|
||||||
ScrollInfo.nTrackPos := 0;
|
ScrollInfo.nTrackPos := 0;
|
||||||
ScrollInfo.nMax := ATopMax+ClientHeight-1;
|
ScrollInfo.nMax := ATopMax+ClientHeight-1;
|
||||||
ScrollInfo.nPage := ClientHeight;
|
ScrollInfo.nPage := ClientHeight-1;
|
||||||
if ScrollInfo.nPage<1 then ScrollInfo.nPage:=1;
|
if ScrollInfo.nPage<1 then ScrollInfo.nPage:=1;
|
||||||
if TopY > ATopMax then TopY:=ATopMax;
|
if TopY > ATopMax then TopY:=ATopMax;
|
||||||
ScrollInfo.nPos := TopY;
|
ScrollInfo.nPos := TopY;
|
||||||
|
Loading…
Reference in New Issue
Block a user