mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-24 12:46:45 +00:00
keystore buttons label tooltips
This commit is contained in:
parent
9a80065605
commit
133d771c09
2 changed files with 3 additions and 2 deletions
|
@ -180,6 +180,7 @@ public class KeystoreController extends WalletFormController implements Initiali
|
||||||
viewSeedButton.setVisible(keystore.getSource() == KeystoreSource.SW_SEED);
|
viewSeedButton.setVisible(keystore.getSource() == KeystoreSource.SW_SEED);
|
||||||
|
|
||||||
importButton.setText(keystore.getSource() == KeystoreSource.SW_WATCH ? "Import..." : "Replace...");
|
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);
|
boolean editable = (keystore.getSource() == KeystoreSource.SW_WATCH);
|
||||||
fingerprint.setEditable(editable);
|
fingerprint.setEditable(editable);
|
||||||
|
|
|
@ -21,12 +21,12 @@
|
||||||
<Fieldset inputGrow="SOMETIMES" text="">
|
<Fieldset inputGrow="SOMETIMES" text="">
|
||||||
<Field text="Type:">
|
<Field text="Type:">
|
||||||
<Label fx:id="type" graphicTextGap="8"/>
|
<Label fx:id="type" graphicTextGap="8"/>
|
||||||
<Button fx:id="viewSeedButton" onAction="#showSeed">
|
<Button fx:id="viewSeedButton" text="View Seed..." graphicTextGap="5" onAction="#showSeed">
|
||||||
<graphic>
|
<graphic>
|
||||||
<Glyph fontFamily="Font Awesome 5 Free Solid" fontSize="12" icon="KEY" />
|
<Glyph fontFamily="Font Awesome 5 Free Solid" fontSize="12" icon="KEY" />
|
||||||
</graphic>
|
</graphic>
|
||||||
<tooltip>
|
<tooltip>
|
||||||
<Tooltip text="View Seed..."/>
|
<Tooltip text="View mnemonic seed words"/>
|
||||||
</tooltip>
|
</tooltip>
|
||||||
</Button>
|
</Button>
|
||||||
<Pane HBox.hgrow="ALWAYS" />
|
<Pane HBox.hgrow="ALWAYS" />
|
||||||
|
|
Loading…
Reference in a new issue