RFR: 8295078: TextField blurry when inside an TitledPane -> AnchorPane [v3]
Andy Goryachev
angorya at openjdk.org
Tue Nov 8 18:17:42 UTC 2022
On Tue, 8 Nov 2022 17:36:18 GMT, Marius Hanl <mhanl at openjdk.org> wrote:
>> modules/javafx.graphics/src/test/java/test/javafx/scene/layout/AnchorPaneTest.java line 765:
>>
>>> 763: double snappedPaddingY = child.snapPositionY(padding);
>>> 764:
>>> 765: assertEquals(snappedPaddingX, boundsInParent.getMinX(), 0.0001);
>>
>> EPSILON constant perhaps?
>
> Not sure if this is worth it for just 2 occurrences. In general I always try not to clutter the test class with things used in only one or two test methods.
I see 6 occurrences only in this method ;-)
-------------
PR: https://git.openjdk.org/jfx/pull/910
More information about the openjfx-dev
mailing list