Hello.
I'm trying to set a min-width for all my column headers, but I'm not being successful. I can set it for a single column in code using
shortAddress.setMinWidth(80);
But the following CSS code doesn't work.
.table-view .column-header {
-fx-font: bold 1em Ubuntu;
-fx-min-width: 80px;
}
.table-view .column-header .label {
-fx-min-width: 80px;
}
I know I could iterate over all the column headers and set the min-width for each, but I'd rather use CSS because it's more maintainable.
The following images show the header with and without min-width
http://i43.tinypic.com/xdcoci.png
http://i39.tinypic.com/2guw3ug.png