• Editor
  • make spine window stick to screen sides

Related Discussions
...

You guys know how in windows you can drag a window to the side of the screen and it expands to half of the screen, or if you have fancyZones it fills a zone? Can we have spine do that? For large screens

this feature is called Snap Assistant (try [WIN] Key and the Arrow Key)
don't work with Spine because is java and not window form, I don't know if the developper team can handle it

It doesn't work because Spine's window is undecorated (draws its own title bar and edges), not because Spine is built using Java. It's pretty lame that Windows doesn't provide the snap assist functionality in that case. 🙁 We'd have to implement it ourselves, though I'm not sure how close we can come to the Windows built-in behavior. I don't know about fancyZones.

@Nate, sorry I was inaccurate :angel:

Ah, bummer.

FancyZones is a part of windows' powertoys bundle - it let's you define more of those snap assistance zones, which is especially helpful for large screens

We dug a bit deeper. It seems there's something mystical in Windows that decides if a window can be moved/resized and therefore if Aero Snap should be applied. Unfortunately it doesn't seem to be documented what that exact criteria is. Some people have tried to work it out empirically. It would take quite a bit of messing around to see if we can find a combination of flags and/or window message handling that results in Windows believing the Spine window is resizable and allowing Aero Snap while still having all the flags and handling that Spine needs. We have plans to rework Spine's windowing system in the future to support multiple windows so we'll look into it further at that time.

(^-^)/