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