keystore buttons label tooltips

This commit is contained in:
Craig Raw 2020-08-18 11:02:45 +02:00
parent 9a80065605
commit 133d771c09
2 changed files with 3 additions and 2 deletions

View file

@ -180,6 +180,7 @@ public class KeystoreController extends WalletFormController implements Initiali
viewSeedButton.setVisible(keystore.getSource() == KeystoreSource.SW_SEED);
importButton.setText(keystore.getSource() == KeystoreSource.SW_WATCH ? "Import..." : "Replace...");
importButton.setTooltip(new Tooltip(keystore.getSource() == KeystoreSource.SW_WATCH ? "Import a keystore from an external source" : "Replace this keystore with another source"));
boolean editable = (keystore.getSource() == KeystoreSource.SW_WATCH);
fingerprint.setEditable(editable);

View file

@ -21,12 +21,12 @@
<Fieldset inputGrow="SOMETIMES" text="">
<Field text="Type:">
<Label fx:id="type" graphicTextGap="8"/>
<Button fx:id="viewSeedButton" onAction="#showSeed">
<Button fx:id="viewSeedButton" text="View Seed..." graphicTextGap="5" onAction="#showSeed">
<graphic>
<Glyph fontFamily="Font Awesome 5 Free Solid" fontSize="12" icon="KEY" />
</graphic>
<tooltip>
<Tooltip text="View Seed..."/>
<Tooltip text="View mnemonic seed words"/>
</tooltip>
</Button>
<Pane HBox.hgrow="ALWAYS" />