SEBWIN-611: Second attempt at fixing resizing issue.

This commit is contained in:
Damian Büchel 2023-02-16 22:59:58 +01:00
parent f57771fda9
commit 474d766926

View file

@ -74,14 +74,18 @@ namespace SafeExamBrowser.UserInterface.Desktop.Windows
{
foreach (var window in windows)
{
window.Topmost = false;
window.WindowState = WindowState.Normal;
window.Activate();
window.Topmost = true;
window.WindowState = WindowState.Maximized;
window.Activate();
}
Topmost = false;
WindowState = WindowState.Normal;
Activate();
Topmost = true;
WindowState = WindowState.Maximized;
Activate();
});
}