Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8094691

Wrap in commands may keep unused properties

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • 8
    • javafx
    • None

      Let's say you have the following FXML :
      <AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
         <children>
            <Button layoutX="20.0" layoutY="30.0" mnemonicParsing="false" text="Button" />
         </children>
      </AnchorPane>

      If you select the button, then invoke wrap in a container where children positioning is not user free, the new container will be added to the root AnchorPane with X=20 and Y=30. But these properties are not removed from the button.


      Wrapping jobs should remove this unused property.

            slions Sandra Lions-piron
            slions Sandra Lions-piron
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: