I can determine the decoration insets and position the stage _after_ calling Stage.show(), but this leads to artifacts caused by canceled window animations (jumping window).
In Swing I can simply use JFrame.getInsets() to get the decoration thickness, compute the preferred size of the content and position the frame correctly before showing it.
How can this be done with JavaFx?PS: I looked up various 'solutions', but all came down to either use own decorations, showing the stage first or to assume a fixed decoration thickness.
smime.p7s
Description: S/MIME Cryptographic Signature