diff --git a/src/main/java/com/sparrowwallet/sparrow/transaction/TransactionController.java b/src/main/java/com/sparrowwallet/sparrow/transaction/TransactionController.java index ae540ac4..cb93bc0c 100644 --- a/src/main/java/com/sparrowwallet/sparrow/transaction/TransactionController.java +++ b/src/main/java/com/sparrowwallet/sparrow/transaction/TransactionController.java @@ -80,6 +80,9 @@ 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); + }); } }); } diff --git a/src/main/java/com/sparrowwallet/sparrow/wallet/SendController.java b/src/main/java/com/sparrowwallet/sparrow/wallet/SendController.java index 67197c77..f6c07599 100644 --- a/src/main/java/com/sparrowwallet/sparrow/wallet/SendController.java +++ b/src/main/java/com/sparrowwallet/sparrow/wallet/SendController.java @@ -341,6 +341,9 @@ public class SendController extends WalletFormController implements Initializabl transactionDiagram.sceneProperty().addListener((observable, oldScene, newScene) -> { if(oldScene == null && newScene != null) { transactionDiagram.update(null); + newScene.getWindow().heightProperty().addListener((observable1, oldValue, newValue) -> { + transactionDiagram.update(walletTransactionProperty.get()); + }); } }); } diff --git a/src/main/resources/com/sparrowwallet/sparrow/about.fxml b/src/main/resources/com/sparrowwallet/sparrow/about.fxml index ab280520..43d15f30 100644 --- a/src/main/resources/com/sparrowwallet/sparrow/about.fxml +++ b/src/main/resources/com/sparrowwallet/sparrow/about.fxml @@ -8,7 +8,7 @@ - +