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

Invalid layout behavior with rotates applied

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 7u6
    • fx2.1
    • javafx
    • 2.1-graphics-scrum

      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.

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

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

              Created:
              Updated:
              Resolved:
              Imported: