Follow-up to JDK-8092379: since then a gap is only rendered before a row/column in which a child starts, but two places still assumed a gap between every row/column.
adjustRowHeights / adjustColumnWidths reserved a gap before every row/column before distributing the percentages. They now reserve only the rendered gaps. CompositeSize.getProportionalMinOrMaxSize divided the size of a spanning child by the number of rows/columns without subtracting the gaps inside the span. It now subtracts them. Each fix is covered by tests that fail before and pass after the change. A test application can be found in the ticket. --------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - JDK-8392158 Changes: https://git.openjdk.org/jfx/pull/2312/files Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=2312&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8392158 Stats: 97 lines in 2 files changed: 92 ins; 2 del; 3 mod Patch: https://git.openjdk.org/jfx/pull/2312.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/2312/head:pull/2312 PR: https://git.openjdk.org/jfx/pull/2312
