> This PR does two small improvements to `VirtualFlow`. > Until now, the `VirtualFlow` sometimes called the `computeHeight` or > `computeWidth` methods, although a fixed cell size is set and we therefore > don't need to call those method (and never should do, as we may don't get the > expected result and mix computed sizes with the fixed cell size). > > Added tests that fail before and pass now. They check that the > `computeHeight` or `computeWidth` (non vertical flow) are never called when a > fixed cell size is set.
Marius Hanl has updated the pull request incrementally with one additional commit since the last revision: JDK-8309470: Improved Tests ------------- Changes: - all: https://git.openjdk.org/jfx/pull/1150/files - new: https://git.openjdk.org/jfx/pull/1150/files/2bdfb1f4..4527e652 Webrevs: - full: https://webrevs.openjdk.org/?repo=jfx&pr=1150&range=02 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=1150&range=01-02 Stats: 28 lines in 1 file changed: 19 ins; 6 del; 3 mod Patch: https://git.openjdk.org/jfx/pull/1150.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/1150/head:pull/1150 PR: https://git.openjdk.org/jfx/pull/1150