native-windows-gui icon indicating copy to clipboard operation
native-windows-gui copied to clipboard

Cannot set non-compressed flags

Open gyk opened this issue 4 years ago • 0 comments

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

gyk avatar Nov 02 '21 08:11 gyk