style details text area

This commit is contained in:
woodser 2025-05-23 10:04:35 -04:00
parent 4e571b438e
commit 9da6fcffec
No known key found for this signature in database
GPG key ID: 55A10DD48ADEE5EF
3 changed files with 12 additions and 0 deletions

View file

@ -2572,6 +2572,16 @@ textfield */
-fx-text-fill: -bs-text-color;
}
.details-text-area {
-fx-background-radius: 8;
-fx-border-radius: 8;
-fx-background-color: transparent !important;
-fx-font-size: 1.077em;
-fx-font-family: "IBM Plex Sans";
-fx-font-weight: normal;
-fx-max-height: 150 !important;
}
.passphrase-copy-box {
-fx-border-width: 1;
-fx-border-color: -bs-color-border-form-field;

View file

@ -342,6 +342,7 @@ public class OfferDetailsWindow extends Overlay<OfferDetailsWindow> {
if (showOfferExtraInfo) {
addSeparator(gridPane, ++rowIndex);
TextArea textArea = addConfirmationLabelTextArea(gridPane, ++rowIndex, Res.get("payment.shared.extraInfo"), "", 0).second;
textArea.getStyleClass().add("details-text-area");
textArea.setText(offer.getCombinedExtraInfo().trim());
textArea.setMaxHeight(200);
textArea.setEditable(false);

View file

@ -235,6 +235,7 @@ public class TradeDetailsWindow extends Overlay<TradeDetailsWindow> {
if (offer.getCombinedExtraInfo() != null && !offer.getCombinedExtraInfo().isEmpty()) {
addSeparator(gridPane, ++rowIndex);
TextArea textArea = addConfirmationLabelTextArea(gridPane, ++rowIndex, Res.get("payment.shared.extraInfo.offer"), "", 0).second;
textArea.getStyleClass().add("details-text-area");
textArea.setText(offer.getCombinedExtraInfo().trim());
textArea.setMaxHeight(200);
textArea.setEditable(false);