var width = 400;
var height = 400;
Stage {
style: StageStyle.TRANSPARENT
onClose: function():Void {
System.exit(0);
}
scene: Scene {
content: Scribble {}
width: width
height: bind height
}
}
Why does the width work, but the height not? And, what can I do to fix this? Netbeans is saying:
height has script only(default) bind access in javafx.scene.Scene