TextField blurry inside AnchorPane - Is it a bug?

Thiago Milczarek Sayão thiago.sayao at gmail.com
Mon Oct 10 15:44:01 UTC 2022


Hi,

This FXML below (just open on SceneBuilder) causes the TextField to be
blurry. I'm not sure if it's expected or a bug.

Possibly the same as:
https://bugs.openjdk.org/browse/JDK-8089499



<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.scene.control.TextField?>
<?import javafx.scene.control.TitledPane?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.VBox?>

<TitledPane animated="false" maxHeight="-Infinity" maxWidth="-Infinity"
minHeight="-Infinity" minWidth="-Infinity" prefHeight="100.0"
prefWidth="600.0" text="untitled" xmlns:fx="http://javafx.com/fxml/1"
xmlns="http://javafx.com/javafx/16">
  <content>
    <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0"
prefWidth="200.0">
         <children>
            <VBox layoutX="93.0" layoutY="8.0" prefHeight="200.0"
prefWidth="100.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0"
AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
               <children>
                  <TextField />
               </children>
            </VBox>
         </children></AnchorPane>
  </content>
</TitledPane>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20221010/e1870954/attachment.htm>


More information about the openjfx-dev mailing list