iced icon indicating copy to clipboard operation
iced copied to clipboard

Add `SpecificWith` variant to `window::Position`

Open hecrj opened this issue 1 month ago • 0 comments

This PR introduces a SpecificWith variant to the window::Position enum.

It works analogously to the Specific variant but it takes a function pointer instead. This function will be called with the window size and the monitor's resolution—effectively allowing relative positioning inside a monitor's bounds.

hecrj avatar May 10 '24 20:05 hecrj