Skip to content

Commit

Permalink
Remove minimize and maximize buttons from S365 file picker
Browse files Browse the repository at this point in the history
  • Loading branch information
mersadk committed Apr 4, 2024
1 parent 2a41e38 commit d30e84c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
*.suo
*/.vs
/DWSIM/obj
/DWSIM/bin/Debug
/DWSIM/bin/x86/Debug
Expand Down
4 changes: 3 additions & 1 deletion DWSIM.Simulate365/FormFactories/S365FilePickerForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ public S365File ShowSaveDialog(List<string> fileFormats = null)
_webUIForm = new WebUIForm(initialUrl, title, true)
{
Width = (int)(1300 * DWSIM.GlobalSettings.Settings.DpiScale),
Height = (int)(800 * DWSIM.GlobalSettings.Settings.DpiScale)
Height = (int)(800 * DWSIM.GlobalSettings.Settings.DpiScale),
MinimizeBox = false,
MaximizeBox = false
};

_webUIForm.SubscribeToInitializationCompleted(Browser_CoreWebView2InitializationCompleted);
Expand Down

0 comments on commit d30e84c

Please sign in to comment.