edvin
08/18/2016, 7:49 AMresizeColumnsToFitContent might happen on another JavaFX pulse, so the primaryStage.sizeToScene() call is most probably evaluated before the resize operation is performed. You can probably wrap the sizeToScene call in a Platform.runLater and get the desired result, but this is not a good way to solve the issue. You can try it first though 🙂