JavaFX 11/TableView/Resize column to fit content

Petr Nemecek pnem at cmail.cz
Fri Jan 18 14:28:32 UTC 2019


Hi all,

I'm migrating from Java 8 to Java 11 + JavaFX 11.

I was using TableViewSkin.resizeColumnToFitContent in Java 8 in order to
resize the width of a column to fit its content.

As this methods is not available in JavaFX 11 anymore, is there any other
way how to achieve this programatically?

Many thanks,
 Petr



More information about the openjfx-discuss mailing list