"resizable" set to false is not disabling the maximize button in iced 0.10.0 but was working in earlier versions

The resizable data member of the struct iced::window::Settings struct when set to false is not disabling the minimize button in the menu bar in the latest iced 0.10.0 version.

Success Case:
It was working as expected in the older versions of iced till iced 0.9.0.

This the screen shot of progress example built with iced 0.9.0. Here the maximize button is disable when the resizable was set to false:

Failure Case:
This the screen shot of progress example built with iced 0.10.0. Here the maximize button is still enabled even if the resizable is set to false:

Here’s the code snippet to reproduce and test the behavior:

use iced::window;
use iced::settings::Settings;
use iced::{Element, Sandbox};
use iced::widget::{column, progress_bar, slider};

pub fn main() -> iced::Result {
    Progress::run(Settings{
			window: iced::window::Settings 
			{ 
                resizable: false,
                ..window::Settings::default()
            },
			..Settings::default()
		}
	)
}

Please prioritize this as this is blocking our product release.

I believe this PR should fix the issue:

Could you give it a try?

Yes this is working.

Here’s the success case screenshot.

Please make sure these changes are there for the iced branch 0.10.0 also as our project is referring to that particular version of iced.