Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MACOS] After windowManager.setResizable(reset) is called, no matter reset is true or false, the window size cannot be changed. #462

Open
zhaofeixaing opened this issue May 17, 2024 · 1 comment

Comments

@zhaofeixaing
Copy link

zhaofeixaing commented May 17, 2024

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.

@tenglongwentian
Copy link

设置await windowManager.setResizable(true);后await windowManager.setMinimumSize无效。 @zhaofeixaing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants