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

Divider position gets forgotten when node is replaced

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: fx2.0
    • Fix Version/s: fx2.0
    • Component/s: javafx
    • Environment:

      Windows 7

      Product: javafx-2.0beta
      Platform: windows-i586
      Build-Number: 171
      Build-ID: 2011-05-31_19-32-58

      Description

      The following lines of code results in the divider at 50%, not at 25% as specified initially:

              splitPane.setDividerPositions(0.25);
              splitPane.getItems().setAll(new Group(), new Group());
              splitPane.getItems().set(1, new Group());

        Attachments

          Activity

            People

            • Assignee:
              kwwong Kinsley Wong
              Reporter:
              mrkam Alexander Kuznetcov (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: