mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 23:40:26 +02:00
LCL: TControlScrollBar.ClientSizeWithBar: return >=0
git-svn-id: trunk@45095 -
This commit is contained in:
parent
d641fda803
commit
41f2997365
@ -437,7 +437,7 @@ function TControlScrollBar.ClientSizeWithBar: integer;
|
||||
begin
|
||||
Result := ClientSize;
|
||||
if not IsScrollBarVisible then
|
||||
dec(Result, GetSize);
|
||||
Result := Max(0,Result-GetSize);
|
||||
end;
|
||||
|
||||
function TControlScrollBar.ClientSizeWithoutBar: integer;
|
||||
|
Loading…
Reference in New Issue
Block a user