RFR: 8299753: Tree/TableView: Column Resizing With Fractional Scale [v9]

Andy Goryachev angorya at openjdk.org
Tue Feb 6 21:27:18 UTC 2024


> Modified the resize algorithm to work well with fractional scale, thanks for deeper understanding of the problem thanks to  @hjohn and @mstr2 .
> 
> It is important to note that even though the constraints are given by the user in unsnapped coordinates, they are converted to snapped values, since the snapped values correspond to the actual pixels on the display.  This means the tests that validate honoring constraints should, in all the cases where (scale != 1.0), assume possibly error not exceeding (1.0 / scale) (I think).

Andy Goryachev has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 28 additional commits since the last revision:

 - Merge branch 'master' into 8299753.resize
 - Merge remote-tracking branch 'origin/master' into 8299753.resize
 - Merge remote-tracking branch 'origin/master' into 8299753.resize
 - tolerance
 - Merge remote-tracking branch 'origin/master' into 8299753.resize
 - undo merge
 - no new api
 - Merge remote-tracking branch 'origin/master' into 8299753.resize
 - cleanup
 - using snap inner space api
 - ... and 18 more: https://git.openjdk.org/jfx/compare/1b970fdc...9105b009

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

Changes:
  - all: https://git.openjdk.org/jfx/pull/1156/files
  - new: https://git.openjdk.org/jfx/pull/1156/files/80286f26..9105b009

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jfx&pr=1156&range=08
 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=1156&range=07-08

  Stats: 294533 lines in 6591 files changed: 173273 ins; 84720 del; 36540 mod
  Patch: https://git.openjdk.org/jfx/pull/1156.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/1156/head:pull/1156

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


More information about the openjfx-dev mailing list