mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-17 19:02:32 -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);
|
||||
attachmentsBox.setSpacing(5);
|
||||
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"));
|
||||
messageAnchorPane.getChildren().addAll(bg, arrow, headerLabel, messageLabel, copyIcon, attachmentsBox, statusIcon);
|
||||
}
|
||||
|
@ -641,7 +637,10 @@ public class TraderDisputeView extends ActivatableView<VBox, Void> {
|
|||
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
|
||||
setGraphic(messageAnchorPane);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue