mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-21 03:39:18 +02:00
Qt,Qt5: fixed maximized window with borderstyle = bsnone. issue #39158
This commit is contained in:
parent
e8317fb534
commit
29fa1e508e
@ -616,6 +616,12 @@ begin
|
|||||||
end;
|
end;
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
// issue #39158
|
||||||
|
if AWinControl.HandleObjectShouldBeVisible and
|
||||||
|
(TCustomForm(AWinControl).BorderStyle = bsNone) and
|
||||||
|
not Widget.IsMdiChild then
|
||||||
|
ConstraintsChange(AWinControl);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
Widget.setVisible(AWinControl.HandleObjectShouldBeVisible);
|
Widget.setVisible(AWinControl.HandleObjectShouldBeVisible);
|
||||||
|
@ -637,6 +637,12 @@ begin
|
|||||||
end;
|
end;
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
// issue #39158
|
||||||
|
if AWinControl.HandleObjectShouldBeVisible and
|
||||||
|
(TCustomForm(AWinControl).BorderStyle = bsNone) and
|
||||||
|
not Widget.IsMdiChild then
|
||||||
|
ConstraintsChange(AWinControl);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
Widget.setVisible(AWinControl.HandleObjectShouldBeVisible);
|
Widget.setVisible(AWinControl.HandleObjectShouldBeVisible);
|
||||||
|
Loading…
Reference in New Issue
Block a user