mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-01 11:16:11 -04:00
style details text area
This commit is contained in:
parent
4e571b438e
commit
9da6fcffec
3 changed files with 12 additions and 0 deletions
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue