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

Invalid layout behavior with rotates applied

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 7u6
    • fx2.1
    • javafx
    • 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. afterKnobDrag.jpg
          5 kB
          Alexander Kuznetcov
        2. Bug.java
          1 kB
          Alexander Kuznetcov
        3. initial.jpg
          7 kB
          Alexander Kuznetcov
        4. RT19738.java
          1 kB
          Kinsley Wong

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported: