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.