mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 21:59:14 +02:00
Qt: do not send dummy resize event for normal groupboxes.
git-svn-id: trunk@24871 -
This commit is contained in:
parent
448bdf7bb4
commit
f8c5380113
@ -5023,7 +5023,8 @@ begin
|
|||||||
LCLObject.DoAdjustClientRectChange(False);
|
LCLObject.DoAdjustClientRectChange(False);
|
||||||
SlotShow(True);
|
SlotShow(True);
|
||||||
{send dummy LM_SIZE to LCL}
|
{send dummy LM_SIZE to LCL}
|
||||||
if LCLObject.ClientRectNeedsInterfaceUpdate then
|
if (FGroupBoxType <> tgbtNormal) and
|
||||||
|
LCLObject.ClientRectNeedsInterfaceUpdate then
|
||||||
begin
|
begin
|
||||||
OldSize.cx := LCLObject.Height;
|
OldSize.cx := LCLObject.Height;
|
||||||
OldSize.cy := LCLObject.Width;
|
OldSize.cy := LCLObject.Width;
|
||||||
|
Loading…
Reference in New Issue
Block a user