revert dynamic tx detail pane

This commit is contained in:
Craig Raw 2021-01-28 12:34:32 +02:00
parent 30215b0dac
commit ac470f64c1

View file

@ -80,9 +80,6 @@ public class TransactionController implements Initializable {
transactionMasterDetail.sceneProperty().addListener((observable, oldScene, newScene) -> {
if(oldScene == null && newScene != null) {
transactionMasterDetail.setDividerPosition(AppServices.isReducedWindowHeight(transactionMasterDetail) ? 0.9 : 0.82);
newScene.getWindow().heightProperty().addListener((observable1, oldValue, newValue) -> {
transactionMasterDetail.setDividerPosition(AppServices.isReducedWindowHeight(transactionMasterDetail) ? 0.9 : 0.82);
});
}
});
}