mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 21:20:28 +02:00
Qt: Fixed #9783 , window wasn't maximized if form design time state was setted up as wsMaximized.
git-svn-id: trunk@12447 -
This commit is contained in:
parent
5c4568ffc8
commit
38b3450528
@ -197,6 +197,10 @@ begin
|
||||
TForm(AWinControl).ReAlign;
|
||||
end;
|
||||
end;
|
||||
|
||||
if TCustomForm(AWinControl).WindowState in [wsMaximized] then
|
||||
TQtMainWindow(Widget).setWindowState(QtWindowMaximized);
|
||||
|
||||
end;
|
||||
|
||||
Widget.setVisible(AWinControl.HandleObjectShouldBeVisible);
|
||||
|
Loading…
Reference in New Issue
Block a user