RFR: 8321970: New table columns don't appear when using fixed cell size unless refreshing tableView

Jeanette Winzenburg fastegal at openjdk.org
Mon Dec 18 14:16:52 UTC 2023


On Mon, 18 Dec 2023 12:09:21 GMT, Jose Pereda <jpereda at openjdk.org> wrote:

> This PR fixes an issue when a new `TableColumn` is added to a `TableView` control with fixed cell size set, where the `TableRowSkinBase` failed to add the cells for the new column.
> 
> A test is included that fails before applying this PR and passes with it.

modules/javafx.controls/src/test/java/test/javafx/scene/control/skin/TableRowSkinTest.java line 87:

> 85:         tableView.setItems(items);
> 86: 
> 87:         stageLoader = new StageLoader(new Scene(tableView));

this changes the context of unrelated tests - no idea whether or not it matters, but I would try not to :)

-------------

PR Review Comment: https://git.openjdk.org/jfx/pull/1308#discussion_r1430196552


More information about the openjfx-dev mailing list