1.1 --- a/boot-fx/src/main/java/org/netbeans/html/boot/fx/FXToolbar.java Mon Jul 21 10:28:07 2014 +0200
1.2 +++ b/boot-fx/src/main/java/org/netbeans/html/boot/fx/FXToolbar.java Mon Jul 21 10:33:15 2014 +0200
1.3 @@ -188,7 +188,9 @@
1.4 private void _resize( final double width, final double height ) {
1.5 ScrollPane scroll;
1.6 if (container.getCenter() == webView) {
1.7 - container.setCenter(scroll = new ScrollPane(webView));
1.8 + scroll = new ScrollPane();
1.9 + scroll.setContent(webView);
1.10 + container.setCenter(scroll);
1.11 } else {
1.12 scroll = (ScrollPane) container.getCenter();
1.13 }