This commit is contained in:
SeekDaSky 2017-12-19 17:31:39 +01:00
commit f7d68c75e8
1 changed files with 0 additions and 1 deletions

View File

@ -29,7 +29,6 @@ public class ContainerScrollStyleSheet{
@Override @Override
public void changed(ObservableValue observable, Object oldValue, Object newValue) { public void changed(ObservableValue observable, Object oldValue, Object newValue) {
System.out.println(spane.getLayoutBounds().getWidth());
FlowPane child = (FlowPane) spane.getContent(); FlowPane child = (FlowPane) spane.getContent();
child.setPrefWidth( spane.getLayoutBounds().getWidth() ); child.setPrefWidth( spane.getLayoutBounds().getWidth() );
child.setPrefHeight( spane.getLayoutBounds().getHeight() ); child.setPrefHeight( spane.getLayoutBounds().getHeight() );