* Fixed TRect setwith and setheight (from Ondrej Pokorny)

git-svn-id: trunk@33030 -
This commit is contained in:
michael 2016-01-29 20:50:21 +00:00
parent 9c3cab8224
commit fe1e18eb8d

View File

@ -366,7 +366,7 @@ end;
procedure TRect.setHeight(AValue: Longint);
begin
right:=left+avalue;
bottom:=top+avalue;
end;
procedure TRect.SetLocation(X, Y: Longint);
@ -387,7 +387,7 @@ end;
procedure TRect.setWidth(AValue: Longint);
begin
bottom:=top+avalue;
right:=left+avalue;
end;
function TRect.SplitRect(SplitType: TSplitRectType; Percent: Double): TRect;