Integrated: JDK-8305248: TableView not rendered correctly after column is made visible if fixed cell size is set
Marius Hanl
mhanl at openjdk.org
Mon Apr 3 17:28:07 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).
This pull request has now been integrated.
Changeset: 4c0e0bd9
Author: Marius Hanl <mhanl at openjdk.org>
URL: https://git.openjdk.org/jfx/commit/4c0e0bd96adc02be721203193aed1d8676db9ebb
Stats: 113 lines in 3 files changed: 104 ins; 6 del; 3 mod
8305248: TableView not rendered correctly after column is made visible if fixed cell size is set
Reviewed-by: angorya, jpereda
-------------
PR: https://git.openjdk.org/jfx/pull/1077
More information about the openjfx-dev
mailing list