Integrated: 8299753: Tree/TableView: Column Resizing With Fractional Scale
Andy Goryachev
angorya at openjdk.org
Tue Mar 4 15:36:11 UTC 2025
On Thu, 15 Jun 2023 19:38:00 GMT, Andy Goryachev <angorya at openjdk.org> wrote:
> Modified the resize algorithm to work well with fractional scale, thanks for deeper understanding of the problem thanks to @hjohn and @mstr2 .
>
> Removed earlier manual tester in favor of the monkey tester.
>
> 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).
This pull request has now been integrated.
Changeset: 1824db5c
Author: Andy Goryachev <angorya at openjdk.org>
URL: https://git.openjdk.org/jfx/commit/1824db5c7183b5b3749fe4c29baae51f34dcc421
Stats: 1172 lines in 8 files changed: 149 ins; 933 del; 90 mod
8299753: Tree/TableView: Column Resizing With Fractional Scale
8299755: Tree/TableView: Cursor Decouples From Divider When Resizing With Fractional Scale
Reviewed-by: kcr, arapte, kpk
-------------
PR: https://git.openjdk.org/jfx/pull/1156
More information about the openjfx-dev
mailing list