mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 16:40:48 +02:00
Components, TAChart: make TChart GetChartHeight return height and GetChartWidth return width, note vice versa, patch by Michael Fuchs, bug #25437
git-svn-id: trunk@43722 -
This commit is contained in:
parent
f2e9065f51
commit
87023d8658
@ -953,12 +953,12 @@ end;
|
||||
|
||||
function TChart.GetChartHeight: Integer;
|
||||
begin
|
||||
Result := FClipRect.Right - FClipRect.Left;
|
||||
Result := FClipRect.Bottom - FClipRect.Top;
|
||||
end;
|
||||
|
||||
function TChart.GetChartWidth: Integer;
|
||||
begin
|
||||
Result := FClipRect.Bottom - FClipRect.Top;
|
||||
Result := FClipRect.Right - FClipRect.Left;
|
||||
end;
|
||||
|
||||
procedure TChart.GetChildren(AProc: TGetChildProc; ARoot: TComponent);
|
||||
|
Loading…
Reference in New Issue
Block a user