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

[ScrollPane] Connecting a ScrollPane to a scenegraph reset hvalue / vvalue

XMLWordPrintable

      Please give a try to the attached NetBeans project.
      The LOAD button triggers loading of an fxml where we have a ScrollPane on which hvalue = vvalue = 0.5.
      The controller prints these two values just after loading: as expected they're equal to 0.5.

      Now we add the ScrollPane to a scenegraph and display the app: the scrollbar are rendered at value 0.
      The PRINT button prints current values, which have been reset to 0.

            jgiles Jonathan Giles
            yjoan Yves Joan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: