Reputation: 23
I want to reduce the size of the padding arround the column name:
I tested this code:
.table-view .column-header{
-fx-text-fill: -fx-selection-bar-text;
-fx-font-size: 10;
-fx-font-family: "Arial";
}
But with this css code I can only set the size of the text font. But I cannot the padding arround the text. Can you tell me how I can do this?
Upvotes: 2
Views: 2679
Reputation: 209225
Try
.table-view .column-header{
-fx-text-fill: -fx-selection-bar-text;
-fx-font-size: 10;
-fx-size: 11 ;
-fx-font-family: "Arial";
}
Upvotes: 3