further keystore improvements

This commit is contained in:
Craig Raw 2020-08-18 11:50:27 +02:00
parent 133d771c09
commit 198672a06e
3 changed files with 8 additions and 2 deletions

View file

@ -81,7 +81,7 @@ public class MnemonicKeystoreImportPane extends TitledDescriptionPane {
private void createEnterMnemonicButton() {
enterMnemonicButton = new SplitMenuButton();
enterMnemonicButton.setAlignment(Pos.CENTER_RIGHT);
enterMnemonicButton.setText("Enter Mnemonic");
enterMnemonicButton.setText("Set Words Length");
enterMnemonicButton.setOnAction(event -> {
enterMnemonic(24);
});

View file

@ -23,6 +23,7 @@ public class FontAwesome5 extends GlyphFont {
CIRCLE('\uf111'),
COINS('\uf51e'),
EXCLAMATION_CIRCLE('\uf06a'),
EXTERNAL_LINK_ALT('\uf35d'),
ELLIPSIS_H('\uf141'),
EYE('\uf06e'),
HAND_HOLDING('\uf4bd'),
@ -37,6 +38,7 @@ public class FontAwesome5 extends GlyphFont {
SD_CARD('\uf7c2'),
SEARCH('\uf002'),
TOOLS('\uf7d9'),
UNDO('\uf0e2'),
WALLET('\uf555');
private final char ch;

View file

@ -30,7 +30,11 @@
</tooltip>
</Button>
<Pane HBox.hgrow="ALWAYS" />
<Button fx:id="importButton" text="Import..." onAction="#importKeystore"/>
<Button fx:id="importButton" text="Import..." graphicTextGap="5" onAction="#importKeystore">
<graphic>
<Glyph fontFamily="Font Awesome 5 Free Solid" fontSize="12" icon="UNDO" />
</graphic>
</Button>
</Field>
<Field text="Label:">
<TextField fx:id="label" maxWidth="160"/>