mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 00:39:43 +02:00
Qt: do not loop with LCL when designing TPageControl, keep LCL sizes when InUpdate.
git-svn-id: trunk@43242 -
This commit is contained in:
parent
108e9a59dc
commit
cda819b2eb
@ -3869,6 +3869,11 @@ begin
|
||||
if not (ClassType = TQtMainWindow) and InUpdate then
|
||||
exit;
|
||||
|
||||
{keep LCL value while designing pageControl}
|
||||
if (csDesigning in LCLObject.ComponentState) and InUpdate and
|
||||
((Self is TQtPage) or (Self is TQtTabWidget)) then
|
||||
exit;
|
||||
|
||||
if CanAdjustClientRectOnResize and
|
||||
((NewSize.cx <> LCLObject.Width) or (NewSize.cy <> LCLObject.Height) or
|
||||
LCLObject.ClientRectNeedsInterfaceUpdate) then
|
||||
|
Loading…
Reference in New Issue
Block a user