[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    Re: JavaFX 11/TableView/Resize column to fit content
From:       Kevin Rushforth <kevin.rushforth () oracle ! com>
Date:       2019-01-18 14:34:17
Message-ID: ccfeab4e-a975-1912-02b2-8f1cf90b6017 () oracle ! com
[Download RAW message or body]

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
>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic