mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-19 03:38:12 -04:00
Fix style issue with copy icon
This commit is contained in:
parent
f0b3fa709d
commit
3541d31b95
1 changed files with 4 additions and 5 deletions
|
@ -494,10 +494,6 @@ public class TraderDisputeView extends ActivatableView<VBox, Void> {
|
||||||
headerLabel.setTextAlignment(TextAlignment.CENTER);
|
headerLabel.setTextAlignment(TextAlignment.CENTER);
|
||||||
attachmentsBox.setSpacing(5);
|
attachmentsBox.setSpacing(5);
|
||||||
statusIcon.setStyle("-fx-font-size: 10;");
|
statusIcon.setStyle("-fx-font-size: 10;");
|
||||||
|
|
||||||
// TODO icon not displayed correctly (too small), don't knwo why....
|
|
||||||
AwesomeDude.setIcon(copyIcon, AwesomeIcon.COPY, "16.0");
|
|
||||||
copyIcon.getStyleClass().add("copy-icon");// -fx-cursor: hand;
|
|
||||||
Tooltip.install(copyIcon, new Tooltip("Copy to clipboard"));
|
Tooltip.install(copyIcon, new Tooltip("Copy to clipboard"));
|
||||||
messageAnchorPane.getChildren().addAll(bg, arrow, headerLabel, messageLabel, copyIcon, attachmentsBox, statusIcon);
|
messageAnchorPane.getChildren().addAll(bg, arrow, headerLabel, messageLabel, copyIcon, attachmentsBox, statusIcon);
|
||||||
}
|
}
|
||||||
|
@ -641,6 +637,9 @@ public class TraderDisputeView extends ActivatableView<VBox, Void> {
|
||||||
AnchorPane.setBottomAnchor(messageLabel, bottomBorder + 10);
|
AnchorPane.setBottomAnchor(messageLabel, bottomBorder + 10);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Need to set it here otherwise style is not correct
|
||||||
|
AwesomeDude.setIcon(copyIcon, AwesomeIcon.COPY, "16.0");
|
||||||
|
copyIcon.getStyleClass().add("copy-icon");
|
||||||
|
|
||||||
// TODO There are still some cell rendering issues on updates
|
// TODO There are still some cell rendering issues on updates
|
||||||
setGraphic(messageAnchorPane);
|
setGraphic(messageAnchorPane);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue