This fix respects a row factory, if present. It will put the cell that is used to measure the column width as child below the row. In that way the row's style will be used.
------------- Commit messages: - 8251480: TableColumnHeader: calc of cell width must respect row styling Changes: https://git.openjdk.java.net/jfx/pull/757/files Webrev: https://webrevs.openjdk.java.net/?repo=jfx&pr=757&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8251480 Stats: 38 lines in 2 files changed: 34 ins; 0 del; 4 mod Patch: https://git.openjdk.java.net/jfx/pull/757.diff Fetch: git fetch https://git.openjdk.java.net/jfx pull/757/head:pull/757 PR: https://git.openjdk.java.net/jfx/pull/757