gabdube / native-windows-gui

A light windows GUI toolkit for rust
https://gabdube.github.io/native-windows-gui/
MIT License
1.96k stars 127 forks source link

Cannot set non-compressed flags #220

Open gyk opened 2 years ago

gyk commented 2 years ago

I can't compile the example in the NWG guide:

#[derive(NwgUi)]
struct MyUi {
    #[nwg_control(flags: WindowFlags::WINDOW | WindowFlags::VISIBLE)]
    window1: nwg::Window,
}

Error message: "Compressed flags must str, got Binary".

Rust version: 1.56.0