mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-11-02 20:36:44 +00:00
use monospace font for addresses in utxo table
This commit is contained in:
parent
95b1aa8e48
commit
cbee341544
2 changed files with 11 additions and 0 deletions
|
@ -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));
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue