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

Calling XYChart.setPadding prevents chart's legend from resizing correctly.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 8
    • 7u6
    • javafx
    • JavaFX 2.2 master:

      Product: javafx-2.2.0beta
      Platform: macosx-universal
      Build-Number: 100
      Build-ID: 2012-06-18_17-06-21

    Description

      We observe this issue with SceneBuilder, if we drop an XY chart and set its padding, then resize it, its legend does not resize correctly.

      Attached is a small standalone program that shows the problem.

      Unzip, build, and run.
      Click on "Drop" => a chart is added to the scenegraph
      Click on "Padding" => the chart padding is changed to (0, 5, 5, 5)
      Click on "Resize" => the chart pref size is divided by 2 and its location is changed - but the legend bar at the bottom keeps its old size.

      Attachments

        Issue Links

          Activity

            People

              psomashe Parvathi Somashekar (Inactive)
              dfuchs Daniel Fuchs
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: