edvin / tornadofx2

TornadoFX 2.0
Apache License 2.0
156 stars 41 forks source link

Graphical issues with InternalWindows Canvas overlay #27

Closed SKeeneCode closed 3 years ago

SKeeneCode commented 3 years ago

The canvas overlay of Internal Window does not behave nicely when maximizing the stage:

Not Maximized ![image](https://user-images.githubusercontent.com/32420836/113224805-1fb18c80-9284-11eb-8d9e-7d7e205f2594.png)
Maximized ![image](https://user-images.githubusercontent.com/32420836/113224861-3eb01e80-9284-11eb-8c76-3fba7c3abe18.png)

Furthermore, when the user quickly resizes the stage via dragging the border, the canvas does not update fast enough, leaving a visible opening in the overlay:

Resizing Fast ![image](https://user-images.githubusercontent.com/32420836/113225063-a9f9f080-9284-11eb-9acb-3dcc9d2bc61f.png)

Will create a PR that fixes this by using a Rectangle instead of a Canvas