growOrShrinkRowHeights and growOrShrinkColumnWidths need the other dimension to 
compute the min-limits correctly.
Adding them leads to some follow-up changes in adjustColumnWidths and 
adjustRowHeights.

The fix is covered by two 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-8392169 GridPane - content-biased child is shrunk below its min size and 
overlaps neighbours

Changes: https://git.openjdk.org/jfx/pull/2313/files
  Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=2313&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8392169
  Stats: 49 lines in 2 files changed: 39 ins; 0 del; 10 mod
  Patch: https://git.openjdk.org/jfx/pull/2313.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/2313/head:pull/2313

PR: https://git.openjdk.org/jfx/pull/2313

Reply via email to