Iced: How can we create a window without title bar?

Created on 17 Sep 2020  路  2Comments  路  Source: hecrj/iced

How can we create a window without title bar?

question

Most helpful comment

Pass decorations: false in window settings (https://docs.rs/iced/0.1.1/iced/window/struct.Settings.html)

For an Application, it's something along the lines of:

MyApp::run(Settings {
    window: iced::window::Settings {
        decorations: false,
        ..iced::window::Settings::default()
    },
    ..Settings::default()
});

All 2 comments

Pass decorations: false in window settings (https://docs.rs/iced/0.1.1/iced/window/struct.Settings.html)

For an Application, it's something along the lines of:

MyApp::run(Settings {
    window: iced::window::Settings {
        decorations: false,
        ..iced::window::Settings::default()
    },
    ..Settings::default()
});

thx

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Plecra picture Plecra  路  4Comments

pbspbsingh picture pbspbsingh  路  4Comments

CallistoM picture CallistoM  路  3Comments

Shootertrex picture Shootertrex  路  3Comments

cetra3 picture cetra3  路  3Comments