Get resolution of screen

Is there a mechanism in Iced for querying the resolution and other info of the monitor(s)? I would like to be able to size a window as a proportion of the screen size. I can’t find anything in the window module other than a way to query for the parameters of some window with a window::Id. I’d like basically the exact same thing but for a screen.

yes id like to know this too!

See here: Is it possible to get the primary display size?

Edit: also there’s a new PR in progress Add `iced::window::get_monitor_size` to get the logical size of the current monitor by rhysd · Pull Request #2754 · iced-rs/iced · GitHub

Thanks, might wait for the pr to go through :+1: