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.
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.