mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-08 22:52:18 -04:00
tweak button to copy passphrase
This commit is contained in:
parent
cc9944b857
commit
98ea02f127
2 changed files with 3 additions and 3 deletions
|
@ -2626,7 +2626,7 @@ textfield */
|
||||||
}
|
}
|
||||||
|
|
||||||
.passphrase-copy-box .jfx-button {
|
.passphrase-copy-box .jfx-button {
|
||||||
-fx-padding: 4 12 4 12;
|
-fx-padding: 5 15 5 15;
|
||||||
-fx-background-radius: 999;
|
-fx-background-radius: 999;
|
||||||
-fx-border-radius: 999;
|
-fx-border-radius: 999;
|
||||||
-fx-min-height: 0;
|
-fx-min-height: 0;
|
||||||
|
|
|
@ -404,7 +404,7 @@ public class OfferDetailsWindow extends Overlay<OfferDetailsWindow> {
|
||||||
GridPane.setHalignment(label, HPos.LEFT);
|
GridPane.setHalignment(label, HPos.LEFT);
|
||||||
GridPane.setValignment(label, VPos.TOP);
|
GridPane.setValignment(label, VPos.TOP);
|
||||||
|
|
||||||
// add vbox with copy passphrase and copy button
|
// add vbox with passphrase and copy button
|
||||||
VBox vbox = new VBox(13);
|
VBox vbox = new VBox(13);
|
||||||
vbox.setAlignment(Pos.TOP_CENTER);
|
vbox.setAlignment(Pos.TOP_CENTER);
|
||||||
VBox.setVgrow(vbox, Priority.ALWAYS);
|
VBox.setVgrow(vbox, Priority.ALWAYS);
|
||||||
|
@ -420,7 +420,7 @@ public class OfferDetailsWindow extends Overlay<OfferDetailsWindow> {
|
||||||
Label copyIcon = new Label();
|
Label copyIcon = new Label();
|
||||||
copyIcon.getStyleClass().addAll("icon", "highlight");
|
copyIcon.getStyleClass().addAll("icon", "highlight");
|
||||||
copyIcon.setTooltip(new Tooltip(Res.get("shared.copyToClipboard")));
|
copyIcon.setTooltip(new Tooltip(Res.get("shared.copyToClipboard")));
|
||||||
AwesomeDude.setIcon(copyIcon, AwesomeIcon.COPY);
|
AwesomeDude.setIcon(copyIcon, AwesomeIcon.COPY, "1.1em");
|
||||||
JFXButton copyButton = new JFXButton(Res.get("offerDetailsWindow.challenge.copy"), copyIcon);
|
JFXButton copyButton = new JFXButton(Res.get("offerDetailsWindow.challenge.copy"), copyIcon);
|
||||||
copyButton.setContentDisplay(ContentDisplay.LEFT);
|
copyButton.setContentDisplay(ContentDisplay.LEFT);
|
||||||
copyButton.setGraphicTextGap(10);
|
copyButton.setGraphicTextGap(10);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue