fix(window): enable maximize button state to support native window resizing on Windows

This commit is contained in:
philau2512
2026-07-15 17:53:38 +07:00
parent f93b18740d
commit 12c7973a06
2 changed files with 60 additions and 8 deletions
+1 -1
View File
@@ -183,7 +183,7 @@ func (s *WindowService) OpenModelEditorWindow(index int, adapterJSON string) {
Hidden: false,
HideOnEscape: false,
MinimiseButtonState: application.ButtonEnabled,
MaximiseButtonState: application.ButtonHidden,
MaximiseButtonState: application.ButtonEnabled,
CloseButtonState: application.ButtonEnabled,
BackgroundColour: application.RGBA{Red: 25, Green: 25, Blue: 25, Alpha: 255},
Mac: application.MacWindow{