tauri icon indicating copy to clipboard operation
tauri copied to clipboard

[feat] add an option to prevent window overflow

Open Legend-Master opened this issue 1 year ago • 0 comments

Describe the problem

If I set the initial window size to say 1280x720, it will overflow to outside of the monitor on some screens (e.g. 1920x1080 with 1.75 scaling on a laptop)

Describe the solution you'd like

It would be nice to have a built-in method for limiting the size to no larger than the working area (e.g. monitor - task bar) I think this should even be on by default with an option to disable it if someone really wants to have a window bigger than the monitor/work area size

And a configurable margin like it must be smaller than the working area by 100px horizontally and 50px vertically would be nice as well

Alternatives considered

No response

Additional context

No response

Legend-Master avatar May 06 '24 14:05 Legend-Master