У меня есть белая рамка вокруг TextArea, от которой я не могу избавиться
Вот код:
textArea = new TextArea();
textArea.getStyleClass().add("textArea");
textArea.setWrapText(true);
И CSS:
.textArea{
-fx-background-insets: 0 0 0 0, 0, 1, 2;
-fx-background-radius: 0;
-fx-text-fill: white;
-fx-border-color: #2a2a2a;
-fx-border-width: 0;}
.textArea .content{
-fx-background-color: #2a2a2a;
-fx-border-color: #2a2a2a;
}
Кто-нибудь может помочь?