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

ScrollPane and Group layout problem

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • jfx13, 8, 8u40, jfx17
    • javafx
    • Windows 7 64bits and JDK8u40 b22

      Run this sample code : http://pastebin.com/WDwt3J5M

      You will need that image for "folder.png" : http://i.imgur.com/puiPHwG.png

      You will see that the second button is not well rendered, like that : http://i.imgur.com/AWSjr5P.png

      It should be like that (obtain it by clicking on the second button) : http://i.imgur.com/Zb7thFZ.png

      Also note that when you click on a button, everything becomes blurry, is that normal? http://i.imgur.com/14dt2BR.png


      FYI, the reason I am using a Group is because the documentation say it :
      "ScrollPane layout calculations are based on the layoutBounds rather than the boundsInParent (visual bounds) of the scroll node. If an application wants the scrolling to be based on the visual bounds of the node (for scaled content etc.), they need to wrap the scroll node in a Group. "

        1. folders.png
          0.6 kB
          Kevin Rushforth
        2. ScrollPaneTest.java
          0.9 kB
          Kevin Rushforth

            Unassigned Unassigned
            shadzic Samir Hadzic
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Imported: