use monospace font for addresses in utxo table

This commit is contained in:
Craig Raw 2024-08-22 12:01:57 +02:00
parent 95b1aa8e48
commit cbee341544
2 changed files with 11 additions and 0 deletions

View file

@ -45,6 +45,7 @@ public class AddressCell extends TreeTableCell<Entry, UtxoEntry.AddressStatus> {
tooltip.setShowDelay(Duration.millis(250)); tooltip.setShowDelay(Duration.millis(250));
tooltip.setText(getTooltipText(utxoEntry, addressStatus.isDuplicate(), addressStatus.isDustAttack())); tooltip.setText(getTooltipText(utxoEntry, addressStatus.isDuplicate(), addressStatus.isDustAttack()));
setTooltip(tooltip); setTooltip(tooltip);
getStyleClass().add("address-cell");
if(addressStatus.isDustAttack()) { if(addressStatus.isDustAttack()) {
setGraphic(getDustAttackHyperlink(utxoEntry)); setGraphic(getDustAttackHyperlink(utxoEntry));

View file

@ -34,6 +34,16 @@
-fx-font-family: 'Roboto Mono'; -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 { .hashindex-row {
-fx-opacity: 0.7; -fx-opacity: 0.7;
} }