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;
}
誰でも助けることができますか?