mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-11-02 20:36:44 +00:00
ellipsis and incomplete wallet background save fixes
This commit is contained in:
parent
df15129f64
commit
ccf4e98968
5 changed files with 10 additions and 7 deletions
|
@ -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);
|
||||
|
|
|
@ -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()) {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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…
Reference in a new issue