mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-11 13:28:04 +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)
|
||||
{$ENDIF}
|
||||
{$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}
|
||||
end else
|
||||
LCLObject.DoAdjustClientRectChange(HaveVertBar or HaveHorzBar);
|
||||
|
Loading…
Reference in New Issue
Block a user