Skip to content

Commit

Permalink
[FZ Editor] Editor window size overflow (#9389)
Browse files Browse the repository at this point in the history
  • Loading branch information
SeraphimaZykova committed Feb 2, 2021
1 parent 612f3e2 commit e4963d6
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ public MainWindow(bool spanZonesAcrossMonitors, Rect workArea)
WrapPanelItemSize = SmallWrapPanelItemSize;
}

MaxWidth = workArea.Width;
MaxHeight = workArea.Height;
SizeToContent = SizeToContent.WidthAndHeight;
}

Expand Down

0 comments on commit e4963d6

Please sign in to comment.