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

Invalid layout behavior with rotates applied

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: fx2.1
    • Fix Version/s: 7u6
    • Component/s: javafx
    • Labels:
    • Environment:

      2.1-graphics-scrum

      Description

      In my app I have the following UI structure:

              Group rotatedRoot = GroupBuilder.create()
                      .children(StackPaneBuilder.create()
                          .children(ScrollPaneBuilder.create()
                              .content(lines)
                              .build())
                          .rotate(-90)
                          .build()
                      )
                      .rotate(90)
                      .build();

      Both rotates are necessary however their combination results in invalid layout behavior. Try to drag the scrollbar. The whole ScrollPane with its scrollbar moves around.

        Attachments

        1. RT19738.java
          1 kB
        2. initial.jpg
          initial.jpg
          7 kB
        3. Bug.java
          1 kB
        4. afterKnobDrag.jpg
          afterKnobDrag.jpg
          5 kB

          Activity

            People

            • Assignee:
              miflemi Mick Fleming (Inactive)
              Reporter:
              mrkam Alexander Kuznetcov (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: