mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 16:19:21 +02:00
* Correct position of an unknown element image.
git-svn-id: trunk@37312 -
This commit is contained in:
parent
69345c7e40
commit
7c9bacc993
@ -762,7 +762,8 @@ begin
|
|||||||
lPt.Y := ABand.RTLayout.Top + el.RTLayout.Top + el.RTLayout.Height;
|
lPt.Y := ABand.RTLayout.Top + el.RTLayout.Top + el.RTLayout.Height;
|
||||||
RenderFrame(pg, ABand, el.Frame, lPt, el.RTLayout.Width, el.RTLayout.Height);
|
RenderFrame(pg, ABand, el.Frame, lPt, el.RTLayout.Width, el.RTLayout.Height);
|
||||||
C.Left:=aband.RTLayout.Left;
|
C.Left:=aband.RTLayout.Left;
|
||||||
C.Top:=aband.RTLayout.Top;
|
// Compensate for add of height which RenderUnknownElement will do
|
||||||
|
C.Top:=aband.RTLayout.Top + el.RTLayout.Height;
|
||||||
RenderUnknownElement(C,El,72);
|
RenderUnknownElement(C,El,72);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user