RFR: JDK-8305248: TableView not rendered correctly after column is made visible if fixed cell size is set
Kevin Rushforth
kcr at openjdk.org
Thu Mar 30 20:13:25 UTC 2023
On Thu, 30 Mar 2023 19:58:31 GMT, Marius Hanl <mhanl at openjdk.org> wrote:
> The determined `prefWidth` of a `TableCell` could be `0.0` when a `fixedCellSize` is set.
> This happened because the `TableCell` may not have a skin since it was never added to the scene graph yet.
>
> The fix is to make sure we get the `prefWidth` after the `TableCell` was added to the scene graph.
> That is also the reason why the problem only happened the first time and never again after (skin is then already created).
@andy-goryachev-oracle can you also review this?
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1077#issuecomment-1490886686
More information about the openjfx-dev
mailing list