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

PieChart legend resize issue

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 7u6, 8
    • javafx
    • JavaFX 2.2 b13 on Windows and Mac

        When resizing a stage containing a PieChart programmatically sometimes the legend width is calculated wrong. Below are instructions to reproduce:

        "Another less common problem I noticed is concerning layout of the chart Legend when resizing the Stage. Launch the attached PieChartResize project, reduce the width of the window until the legend only has one column and then click anywhere in the window. The legend is not drawn correctly. Repeat the procedure, but this time increase the window width until the legend shows three columns before clicking. The legend is not drawn correctly. At least the first behavior can be reproduced by manually increasing the window width until the number in the top left corner is 370."

          1. PieResize.java
            2 kB
          2. Pie Correct.png
            Pie Correct.png
            30 kB
          3. Pie Broken.png
            Pie Broken.png
            27 kB

              psomashe Parvathi Somashekar (Inactive)
              jasper Jasper Potts (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported: