Qt: do not loop with LCL when designing TPageControl, keep LCL sizes when InUpdate.

git-svn-id: trunk@43242 -
This commit is contained in:
zeljko 2013-10-14 06:28:24 +00:00
parent 108e9a59dc
commit cda819b2eb

View File

@ -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