mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-06-24 06:44:19 -04:00
make extra info text areas consistent
This commit is contained in:
parent
33c523190d
commit
3ff266eeeb
3 changed files with 10 additions and 2 deletions
|
@ -2567,13 +2567,20 @@ textfield */
|
|||
-fx-text-fill: -fx-dark-text-color !important;
|
||||
}
|
||||
|
||||
.grid-pane .text-area {
|
||||
.grid-pane .text-area,
|
||||
.flat-text-area-with-border {
|
||||
-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-text-fill: -bs-rd-font-dark-gray !important;
|
||||
-fx-border-width: 1;
|
||||
-fx-border-color: -bs-color-border-form-field !important;
|
||||
}
|
||||
|
||||
.grid-pane .text-area {
|
||||
-fx-max-height: 150 !important;
|
||||
}
|
||||
|
||||
|
|
|
@ -370,7 +370,7 @@ public class TakeOfferView extends ActivatableViewAndModel<AnchorPane, TakeOffer
|
|||
extraInfoTextArea.setVisible(false);
|
||||
extraInfoTextArea.setManaged(false);
|
||||
extraInfoTextArea.setText(offer.getCombinedExtraInfo().trim());
|
||||
extraInfoTextArea.getStyleClass().add("text-area");
|
||||
extraInfoTextArea.getStyleClass().addAll("text-area", "flat-text-area-with-border");
|
||||
extraInfoTextArea.setWrapText(true);
|
||||
extraInfoTextArea.setMaxHeight(300);
|
||||
extraInfoTextArea.setEditable(false);
|
||||
|
|
|
@ -56,6 +56,7 @@ public class GenericMessageWindow extends Overlay<GenericMessageWindow> {
|
|||
}
|
||||
checkNotNull(message, "message must not be null");
|
||||
TextArea textArea = addTextArea(gridPane, ++rowIndex, "", 10);
|
||||
textArea.getStyleClass().add("flat-text-area-with-border");
|
||||
textArea.setText(message);
|
||||
textArea.setEditable(false);
|
||||
textArea.setWrapText(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue