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

Align size types for imageframe and its builder #298

Open eugenesvk opened 4 months ago

eugenesvk commented 4 months ago

Shouldn't both be u32?

pub fn size(self, size: (i32, i32)) -> ImageFrameBuilder<'a>

pub fn set_size(&self, x: u32, y: u32)