1
次のCSSを適用します。シェイプのCSSはjavafxのテキストエリアには適用されません
.text-area .content {
-fx-background-color: -lined-back;
-fx-shape: "M 7 0 L 24 0 L 24 19 L 0 19 L 0 2 L 7 2 Z";
}
.text-area:focused .content {
-fx-shape: "M 7 0 L 24 0 L 24 19 L 0 19 L 0 2 L 7 2 Z";
}
私の問題はそれだけでも、画像の下あたりpoint.asを開始する時に編集を開始バックグラウンド全体ではないcomponent.andの形状を変更していますです。
回答ありがとうございます。テキストエリアの境界にのみ適用されますが、編集は開始から開始されます。 – CTN