-
Bug
-
Resolution: Fixed
-
P4
-
7u9
-
Windows 8 Pro x64, Java 7u9 64bit, JavaFX 2.2.3
To reproduce use the attached faulty.fxml and preview it. See also attached Flash file.
One would expect that on resize, the ScrollPanes content is aligned to the left top corner. But if at least one of the policies is set to ALWAYS or AS_NEEDED, and the user scrolls a bit or totally to the end of the content, the alignment is messed up. Using ScenicView, i saw that the coordinates layoutX and layoutY of the StackPane that internally holds the ScrollPanes content are going > 0, which just should not happen(at least this is what i would expect).
If this is not considered a bug, please provide a workaround on how to keep the StackPane at(0;0).
One would expect that on resize, the ScrollPanes content is aligned to the left top corner. But if at least one of the policies is set to ALWAYS or AS_NEEDED, and the user scrolls a bit or totally to the end of the content, the alignment is messed up. Using ScenicView, i saw that the coordinates layoutX and layoutY of the StackPane that internally holds the ScrollPanes content are going > 0, which just should not happen(at least this is what i would expect).
If this is not considered a bug, please provide a workaround on how to keep the StackPane at(0;0).