mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-11-04 21:36:45 +00:00
further keystore improvements
This commit is contained in:
parent
133d771c09
commit
198672a06e
3 changed files with 8 additions and 2 deletions
|
@ -81,7 +81,7 @@ public class MnemonicKeystoreImportPane extends TitledDescriptionPane {
|
||||||
private void createEnterMnemonicButton() {
|
private void createEnterMnemonicButton() {
|
||||||
enterMnemonicButton = new SplitMenuButton();
|
enterMnemonicButton = new SplitMenuButton();
|
||||||
enterMnemonicButton.setAlignment(Pos.CENTER_RIGHT);
|
enterMnemonicButton.setAlignment(Pos.CENTER_RIGHT);
|
||||||
enterMnemonicButton.setText("Enter Mnemonic");
|
enterMnemonicButton.setText("Set Words Length");
|
||||||
enterMnemonicButton.setOnAction(event -> {
|
enterMnemonicButton.setOnAction(event -> {
|
||||||
enterMnemonic(24);
|
enterMnemonic(24);
|
||||||
});
|
});
|
||||||
|
|
|
@ -23,6 +23,7 @@ public class FontAwesome5 extends GlyphFont {
|
||||||
CIRCLE('\uf111'),
|
CIRCLE('\uf111'),
|
||||||
COINS('\uf51e'),
|
COINS('\uf51e'),
|
||||||
EXCLAMATION_CIRCLE('\uf06a'),
|
EXCLAMATION_CIRCLE('\uf06a'),
|
||||||
|
EXTERNAL_LINK_ALT('\uf35d'),
|
||||||
ELLIPSIS_H('\uf141'),
|
ELLIPSIS_H('\uf141'),
|
||||||
EYE('\uf06e'),
|
EYE('\uf06e'),
|
||||||
HAND_HOLDING('\uf4bd'),
|
HAND_HOLDING('\uf4bd'),
|
||||||
|
@ -37,6 +38,7 @@ public class FontAwesome5 extends GlyphFont {
|
||||||
SD_CARD('\uf7c2'),
|
SD_CARD('\uf7c2'),
|
||||||
SEARCH('\uf002'),
|
SEARCH('\uf002'),
|
||||||
TOOLS('\uf7d9'),
|
TOOLS('\uf7d9'),
|
||||||
|
UNDO('\uf0e2'),
|
||||||
WALLET('\uf555');
|
WALLET('\uf555');
|
||||||
|
|
||||||
private final char ch;
|
private final char ch;
|
||||||
|
|
|
@ -30,7 +30,11 @@
|
||||||
</tooltip>
|
</tooltip>
|
||||||
</Button>
|
</Button>
|
||||||
<Pane HBox.hgrow="ALWAYS" />
|
<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>
|
||||||
<Field text="Label:">
|
<Field text="Label:">
|
||||||
<TextField fx:id="label" maxWidth="160"/>
|
<TextField fx:id="label" maxWidth="160"/>
|
||||||
|
|
Loading…
Reference in a new issue