-
Bug
-
Resolution: Fixed
-
P2
-
fx1.2
-
Windows XP, Vista / Java1.6.0_13, Marina b06
Compile and run the below code snippet, try to change the value of the width attribute for the ScrollBar.
If the value of the width is set to some big number, the ScrollBar just disappears !! (say with width: 50)
(see attachment please)
---------------------------------------------- Code Starts ----------------------------------------------------
import javafx.scene.control.ScrollBar;
import javafx.scene.Scene;
import javafx.stage.Stage;
var scrollBar: ScrollBar = ScrollBar{
translateX: 20
translateY: 10
height: 200
width: 0
vertical: true
}
Stage {
title: "Simple ScrollBar"
width: 150
height: 350
scene: Scene {
content: scrollBar
}
}
---------------------------------------------- Code Ends ----------------------------------------------------