Browse Source

ellipsis and incomplete wallet background save fixes

bwt
Craig Raw 4 years ago
parent
commit
ccf4e98968
  1. 6
      src/main/java/com/sparrowwallet/sparrow/control/MnemonicKeystoreImportPane.java
  2. 2
      src/main/java/com/sparrowwallet/sparrow/control/WelcomeDialog.java
  3. 5
      src/main/java/com/sparrowwallet/sparrow/wallet/WalletForm.java
  4. 2
      src/main/resources/com/sparrowwallet/sparrow/preferences/general.fxml
  5. 2
      src/main/resources/com/sparrowwallet/sparrow/wallet/send.fxml

6
src/main/java/com/sparrowwallet/sparrow/control/MnemonicKeystoreImportPane.java

@ -155,11 +155,11 @@ public class MnemonicKeystoreImportPane extends TitledDescriptionPane {
if(!displayWordsOnly) {
PassphraseEntry passphraseEntry = new PassphraseEntry();
passphraseEntry.setPadding(new Insets(0, 32, 10, 10));
passphraseEntry.setPadding(new Insets(0, 26, 10, 10));
vBox.getChildren().add(passphraseEntry);
AnchorPane buttonPane = new AnchorPane();
buttonPane.setPadding(new Insets(0, 32, 0, 10));
buttonPane.setPadding(new Insets(0, 26, 0, 10));
generateButton = new Button("Generate New");
generateButton.setOnAction(event -> {
@ -345,7 +345,7 @@ public class MnemonicKeystoreImportPane extends TitledDescriptionPane {
setSpacing(10);
Label label = new Label((wordNumber+1) + ".");
label.setPrefWidth(20);
label.setPrefWidth(22);
label.setAlignment(Pos.CENTER_RIGHT);
wordField = new TextField();
wordField.setMaxWidth(100);

2
src/main/java/com/sparrowwallet/sparrow/control/WelcomeDialog.java

@ -29,7 +29,7 @@ public class WelcomeDialog extends Dialog<Mode> {
dialogPane.setHeaderText("Welcome to Sparrow!");
dialogPane.getStylesheets().add(AppController.class.getResource("general.css").toExternalForm());
dialogPane.setPrefWidth(600);
dialogPane.setPrefHeight(450);
dialogPane.setPrefHeight(480);
Image image = new Image("image/sparrow-small.png", 50, 50, false, false);
if (!image.isError()) {

5
src/main/java/com/sparrowwallet/sparrow/wallet/WalletForm.java

@ -199,7 +199,10 @@ public class WalletForm {
@Subscribe
public void newBlock(NewBlockEvent event) {
updateWallet(wallet.copy(), event.getHeight());
//Check if wallet is valid to avoid saving wallets in initial setup
if(wallet.isValid()) {
updateWallet(wallet.copy(), event.getHeight());
}
}
@Subscribe

2
src/main/resources/com/sparrowwallet/sparrow/preferences/general.fxml

@ -63,7 +63,7 @@
<UnlabeledToggleSwitch fx:id="groupByAddress" />
<HelpLabel helpText="Group UTXOs by address when sending to improve privacy by only sending from an address once"/>
</Field>
<Field text="Include mempool change:">
<Field text="Use mempool change:">
<UnlabeledToggleSwitch fx:id="includeMempoolChange" />
<HelpLabel helpText="Allow a wallet to spend UTXOs that are still in the mempool where all their inputs are from that wallet"/>
</Field>

2
src/main/resources/com/sparrowwallet/sparrow/wallet/send.fxml

@ -63,7 +63,7 @@
</Form>
<Form GridPane.columnIndex="0" GridPane.rowIndex="1">
<Fieldset inputGrow="SOMETIMES" text="Fee">
<Field text="Block Target:">
<Field text="Block target:">
<Slider fx:id="targetBlocks" snapToTicks="true" showTickLabels="true" showTickMarks="true" />
</Field>
<Field fx:id="feeRateField" text="Rate:">

Loading…
Cancel
Save