Closed JhnBrunelle closed 6 years ago
Also, commit a5586d removes the 2DPoint library which I used to place the window at the dropped position on the screen. I removed it cause I had a lot of issues with it, and now the new undocked stage positions to the center of the screen. This should be fixed and reimplemented in the future.
ALSO: Tabs cant be moved between tab panes, which makes sense. This should maybe be implemented later
Implemented dockable windows into the app using TabPanes, This was achieved by overriding the tab pane class built into JavaFX, and creates a new stage from the content of the scene when the window is dragged out. On closing the new stage it docks it back to the previous location. The utility for this is in the wemars package, and i think any other modular utilities like this should be added to this package.
This seems to be the easiest and most effective way to do it, but if you have any suggestions let me know!