A bug in NGRegion makes it so that the following code has the wrong resize behavior. The image is being stretched, but should always maintain the correct aspect ratio.
Region r = new Region();
r.setStyle("-fx-background-image: url(\"https://www.devoxx.com/plugins/servlet/builder/resource/DEVOXX2012/bg.jpg?1339672736848\");" +
"-fx-background-size: cover;");
The bug is due to the code that computes how to draw in NGRegion.
Region r = new Region();
r.setStyle("-fx-background-image: url(\"https://www.devoxx.com/plugins/servlet/builder/resource/DEVOXX2012/bg.jpg?1339672736848\");" +
"-fx-background-size: cover;");
The bug is due to the code that computes how to draw in NGRegion.