Browse Source

reduce min window height by 50px

terminal
Craig Raw 4 years ago
parent
commit
1dbf51b406
  1. 2
      drongo
  2. 2
      src/main/java/com/sparrowwallet/sparrow/AppServices.java
  3. 4
      src/main/java/com/sparrowwallet/sparrow/control/TransactionDiagram.java

2
drongo

@ -1 +1 @@
Subproject commit 93d494fcde0d6979b2ded2a9d5ebd5d54d58b8ea Subproject commit 4b682fb3e710c4b2303295fdfde72195854097dc

2
src/main/java/com/sparrowwallet/sparrow/AppServices.java

@ -265,7 +265,7 @@ public class AppServices {
stage.setTitle("Sparrow"); stage.setTitle("Sparrow");
stage.setMinWidth(650); stage.setMinWidth(650);
stage.setMinHeight(800); stage.setMinHeight(750);
stage.setScene(scene); stage.setScene(scene);
stage.getIcons().add(new Image(MainApp.class.getResourceAsStream("/image/sparrow.png"))); stage.getIcons().add(new Image(MainApp.class.getResourceAsStream("/image/sparrow.png")));

4
src/main/java/com/sparrowwallet/sparrow/control/TransactionDiagram.java

@ -30,8 +30,8 @@ import java.util.*;
import java.util.stream.Collectors; import java.util.stream.Collectors;
public class TransactionDiagram extends GridPane { public class TransactionDiagram extends GridPane {
private static final int MAX_UTXOS = 8; private static final int MAX_UTXOS = 7;
private static final int MAX_PAYMENTS = 6; private static final int MAX_PAYMENTS = 5;
private static final double DIAGRAM_HEIGHT = 230.0; private static final double DIAGRAM_HEIGHT = 230.0;
private static final int TOOLTIP_SHOW_DELAY = 50; private static final int TOOLTIP_SHOW_DELAY = 50;

Loading…
Cancel
Save