Skip to content

Commit

Permalink
use monospace font for addresses in utxo table
Browse files Browse the repository at this point in the history
  • Loading branch information
craigraw committed Aug 22, 2024
1 parent 95b1aa8 commit cbee341
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ protected void updateItem(UtxoEntry.AddressStatus addressStatus, boolean empty)
tooltip.setShowDelay(Duration.millis(250));
tooltip.setText(getTooltipText(utxoEntry, addressStatus.isDuplicate(), addressStatus.isDustAttack()));
setTooltip(tooltip);
getStyleClass().add("address-cell");

if(addressStatus.isDustAttack()) {
setGraphic(getDustAttackHyperlink(utxoEntry));
Expand Down
10 changes: 10 additions & 0 deletions src/main/resources/com/sparrowwallet/sparrow/wallet/wallet.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,16 @@
-fx-font-family: 'Roboto Mono';
}

.cell > .hyperlink {
-fx-font-family: none;
-fx-font-size: none;
}

.cell > .tooltip {
-fx-font-family: none;
-fx-font-size: 0.85em;
}

.hashindex-row {
-fx-opacity: 0.7;
}
Expand Down

0 comments on commit cbee341

Please sign in to comment.