This content has been marked as final. Show 1 reply
Not sure if you mean a column in a row ?
You can use:
This will expand the columns to fit the displayable area.
You can then use setPrefWidth(Double.MAX_VALUE) on the label to tell it to use all space made available by the expanded table cell.
Hope this helps.
Label labelToDisplayInTab = new Label("bla bla"); labelToDisplayInTab.setPrefWidth(Double.MAX_VALUE);
If not then please supply a bit more information so that I can figure out exactly where your problem is.