window_manager
window_manager copied to clipboard
[MACOS] After windowManager.setResizable(reset) is called, no matter reset is true or false, the window size cannot be changed.
windowManager.waitUntilReadyToShow(windowOptions, () async {
await windowManager.setTitleBarStyle(TitleBarStyle.hidden,
windowButtonVisibility: butenBool);
await windowManager.focus();
await windowManager.setResizable(reSize);
await windowManager.show();
});
this is my code , I want to not be able to resize the window when I log in, but I can resize it again when I go to the homepage, but I found that I can't change the window size as long as I call windowManager.setResizable.
设置await windowManager.setResizable(true);后await windowManager.setMinimumSize无效。 @zhaofeixaing