mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 21:59:14 +02:00
Qt: do not invalidate client rect cache in scrollable form viewport if we are embedded form (eg. docked).
git-svn-id: trunk@43243 -
This commit is contained in:
parent
cda819b2eb
commit
6471321801
@ -6066,7 +6066,9 @@ begin
|
|||||||
':',LCLObject.Name)
|
':',LCLObject.Name)
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
{$IFDEF QTSCROLLABLEFORMS}
|
{$IFDEF QTSCROLLABLEFORMS}
|
||||||
LCLObject.InvalidateClientRectCache(True);
|
// do not invalidate clientRectCache if we are embedded (eg. docked)
|
||||||
|
if not Assigned(LCLObject.Parent) then
|
||||||
|
LCLObject.InvalidateClientRectCache(True);
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
end else
|
end else
|
||||||
LCLObject.DoAdjustClientRectChange(HaveVertBar or HaveHorzBar);
|
LCLObject.DoAdjustClientRectChange(HaveVertBar or HaveHorzBar);
|
||||||
|
Loading…
Reference in New Issue
Block a user