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

SplitPane divider values are not reflecting visual splitters value

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: None
    • Fix Version/s: fx2.0.2
    • Component/s: javafx
    • Labels:
    • Environment:

      Mac and Windows.

      Description

      If this is the behavior of the SplitPane, then this is fine. I logged this bug to better understand the SplitPane dividers specification.

      I have a Splitpane that contains 2 AnchorPane that have minimal values. The Splitpane respects the minimal values. That is fine.

      I then set the dividerPosisions to 0 (or to 100). The SplitPane accepts these values but the divider is not visually at the passed value.

      Getting the divider positions in the tick they have been set returns the "wrong" values, getting the divider in the next tick gets you the actual values (in sync with what is displayed).

      Is it the expected behavior?

      I have attached a TestCase, click twice on the button underneath the SplitPane, the divider vales are displayed on the console. You will observe the desynchro.



        Attachments

          Activity

            People

            • Assignee:
              kwwong Kinsley Wong
              Reporter:
              jfdenise Jean-Francois Denise (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: