Hi Rafal,
you can wrap the control in a Group. That way, it's (actually Group's) layoutBounds will be the same as it's transformed bounds (boundsInParent). Alternatively you can use css styling, but I don't know much about how to do it properly, maybe Jonathan can help you there.

-Martin

On 06/05/2014 01:13 AM, Rafal Leibzig wrote:
Hi,

Sorry for disturbing you, but I have a question and no one answered me on
other forums.

My question is rather simple:

http://stackoverflow.com/questions/23997115/how-to-scale-control-and-layout-it-properly-in-javafx


Thanks in advance.
You are the experts. :)



Reply via email to