RFR: 8295078: TextField blurry when inside an TitledPane -> AnchorPane [v3]

Marius Hanl mhanl at openjdk.org
Tue Nov 8 20:32:53 UTC 2022


On Tue, 8 Nov 2022 18:37:16 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

>> Marius Hanl has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8295078: Replace JUnit4 with Junit5 imports
>
> modules/javafx.graphics/src/test/java/test/javafx/scene/layout/AnchorPaneTest.java line 742:
> 
>> 740:         StackPane child = new StackPane();
>> 741:         AnchorPane anchorpane = new AnchorPane(child);
>> 742:         anchorpane.setStyle("-fx-padding: " + padding + "px;");
> 
> There might be two cases: when snapToPixel=true (this is the default case), and when =false.  Should we test the case snapToPixel=false?

We can, but that should do the same as before. As before the values were not snapped at all. And that worked, I guess 😄

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

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


More information about the openjfx-dev mailing list