Re: Duplication in HBox/VBox

2025-02-07 Thread Michael Strauß
> - Make it clear which values are snapped, raw or near-snapped by using > prefixes "raw", "snapped" and "near" in variables and method names. > Much of the code incorrectly assumes that adding, subtracting or > multiplying two snapped values results in a snapped value. This is not > true, it is o

Re: Duplication in HBox/VBox

2025-02-05 Thread Andy Goryachev
esday, February 5, 2025 at 10:20 To: openjfx-dev@openjdk.org Subject: Duplication in HBox/VBox Hi list, I wish to address the huge amount of duplication in HBox/VBox as it is error prone when doing modifications there. I'm in the process of fixing these classes so that they no longer la

Duplication in HBox/VBox

2025-02-05 Thread John Hendrikx
Hi list, I wish to address the huge amount of duplication in HBox/VBox as it is error prone when doing modifications there.  I'm in the process of fixing these classes so that they no longer layout their children off-by-one-pixel on render scales other than 1 (they will often not fully fil