The Wayback Machine - https://web.archive.org/web/20210408143709/https://github.com/neomjs/neo/issues/1735
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SharedDialog.view.MainContainerController: enhance the demo to support gaps between windows #1735

Open
tobiu opened this issue Apr 8, 2021 · 0 comments

Comments

@tobiu
Copy link
Collaborator

@tobiu tobiu commented Apr 8, 2021

example: a user could manually drag a docked window away from the main window or apps could position windows initially not right next to each other.

Obviously, there is no visible drag proxy in place when dragging not over browser windows.

To implement this onDragStart() needs to call Neo.Main.getWindowData() on all connected windows. The returning data object contains e.g. screenLeft, screenTop, otherHeight, outerWidth => calculating gaps is fairly easy.

Adding the label "good first issue", since it does not require deeper knowledge of the framework.

Adding the label "help wanted", since it is not a high priority item (unless many users ask for it).

A lot of other tasks on my plate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment