mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 09:29:27 +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;
|
||||
{$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