mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-03 04:06:23 -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;
|
-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 {
|
.passphrase-copy-box {
|
||||||
-fx-border-width: 1;
|
-fx-border-width: 1;
|
||||||
-fx-border-color: -bs-color-border-form-field;
|
-fx-border-color: -bs-color-border-form-field;
|
||||||
|
|
|
@ -342,6 +342,7 @@ public class OfferDetailsWindow extends Overlay<OfferDetailsWindow> {
|
||||||
if (showOfferExtraInfo) {
|
if (showOfferExtraInfo) {
|
||||||
addSeparator(gridPane, ++rowIndex);
|
addSeparator(gridPane, ++rowIndex);
|
||||||
TextArea textArea = addConfirmationLabelTextArea(gridPane, ++rowIndex, Res.get("payment.shared.extraInfo"), "", 0).second;
|
TextArea textArea = addConfirmationLabelTextArea(gridPane, ++rowIndex, Res.get("payment.shared.extraInfo"), "", 0).second;
|
||||||
|
textArea.getStyleClass().add("details-text-area");
|
||||||
textArea.setText(offer.getCombinedExtraInfo().trim());
|
textArea.setText(offer.getCombinedExtraInfo().trim());
|
||||||
textArea.setMaxHeight(200);
|
textArea.setMaxHeight(200);
|
||||||
textArea.setEditable(false);
|
textArea.setEditable(false);
|
||||||
|
|
|
@ -235,6 +235,7 @@ public class TradeDetailsWindow extends Overlay<TradeDetailsWindow> {
|
||||||
if (offer.getCombinedExtraInfo() != null && !offer.getCombinedExtraInfo().isEmpty()) {
|
if (offer.getCombinedExtraInfo() != null && !offer.getCombinedExtraInfo().isEmpty()) {
|
||||||
addSeparator(gridPane, ++rowIndex);
|
addSeparator(gridPane, ++rowIndex);
|
||||||
TextArea textArea = addConfirmationLabelTextArea(gridPane, ++rowIndex, Res.get("payment.shared.extraInfo.offer"), "", 0).second;
|
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.setText(offer.getCombinedExtraInfo().trim());
|
||||||
textArea.setMaxHeight(200);
|
textArea.setMaxHeight(200);
|
||||||
textArea.setEditable(false);
|
textArea.setEditable(false);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue