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

Resizing Issue for Polygon, Arc and Text nodes

XMLWordPrintable

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

      D&D a HBox
      D&D a Polygon shape into the HBox
      Select the HBox and choose Menubar > Modify > Use Computed Sizes
      Select the Polygon
      Now resize the Polygon using the handles in the Content Panel - bug - the Hbox does not re-compute its size.

      We have the same issue with the Arc and Text nodes. The problem seems to be related to the fact that when we resize these nodes using the handles we actually modify the ScaleX and ScaleY properties. This is problematic when you have a container with a mix of nodes. For example, I made a Hbox containing labels and using polygon shapes as visual separators between each label. Unfortunately as soon as I resized the polygons to my desired size the Hbox layout did not react as expected.

            eleponn Eric Le Ponner
            mchicharro Moises Chicharro
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: