mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 05:19:14 +02:00
Qt: set offset for embedded form into scrollable form too.
git-svn-id: trunk@44991 -
This commit is contained in:
parent
871b52e71c
commit
315f9649b0
@ -464,7 +464,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
{$IFDEF QTSCROLLABLEFORMS}
|
{$IFDEF QTSCROLLABLEFORMS}
|
||||||
if (AWinControl.FCompStyle <> csForm) and Assigned(AWinControl.Parent) and
|
if Assigned(AWinControl.Parent) and
|
||||||
(AWinControl.Parent.FCompStyle = csForm) then
|
(AWinControl.Parent.FCompStyle = csForm) then
|
||||||
begin
|
begin
|
||||||
AForm := TCustomForm(AWinControl.Parent);
|
AForm := TCustomForm(AWinControl.Parent);
|
||||||
|
Loading…
Reference in New Issue
Block a user