API Review RT:17407 Canvas Node
Daniel Zwolenski
zonski at googlemail.com
Fri Apr 20 23:26:12 PDT 2012
> A Canvas node is a fixed size, so it only resizes when you tell it to. If you want it to track the size of the Scene (or similar), you could bind its width and height properties and react to change notifications.
Any reason why Canvas wouldn't just adhere to the Layout algorithm of the Container it is in? Eg if in a BorderPane center then fill, if in a GridPane take up that cell, etc. If we want to fix size then we would use min/max constraints.
That would seem the most sensible and useful thing to me.
More information about the openjfx-dev
mailing list