JavaFX 11/TableView/Resize column to fit content
Kevin Rushforth
kevin.rushforth at oracle.com
Fri Jan 18 14:34:17 UTC 2019
This is more relevant to the openjfx-dev alias, so I have redirected the
thread there (with a "Bcc" of the -discuss alias).
There is currently no way to do this, but it is a known issue [1][2]
that is under discussion.
-- Kevin
[1] https://bugs.openjdk.java.net/browse/JDK-8207957
[2] https://github.com/javafxports/openjdk-jfx/pull/289
On 1/18/2019 6:28 AM, Petr Nemecek wrote:
> 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-dev
mailing list