mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-26 21:00:34 +02:00
Qt: do not apply fixed size for mdi child windows if border style is bsDialog,bsNone,bsSingle
git-svn-id: trunk@33331 -
This commit is contained in:
parent
19a88c4667
commit
667e54c77f
@ -5254,7 +5254,8 @@ end;
|
||||
|
||||
procedure TQtMainWindow.Resize(ANewWidth, ANewHeight: Integer);
|
||||
begin
|
||||
if (TCustomForm(LCLObject).BorderStyle in [bsDialog, bsNone, bsSingle]) and
|
||||
if not IsMDIChild and
|
||||
(TCustomForm(LCLObject).BorderStyle in [bsDialog, bsNone, bsSingle]) and
|
||||
not (csDesigning in LCLObject.ComponentState) then
|
||||
QWidget_setFixedSize(Widget, ANewWidth, ANewHeight)
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user