Dragboard#setDragViewOffsetX/Y limitations

Anthony Petrov anthony.petrov at oracle.com
Mon May 12 13:45:50 UTC 2014


Hi Tom,

FX/Glass don't restrict values for the drag view offset. So I guess it's 
the native system that could impose some limitations.

Please file a JIRA and request the specification clarification for this 
issue.

--
best regards,
Anthony

On 5/12/2014 12:08 PM, Tom Schindl wrote:
> Hi,
>
> Using Dragboard#setDragViewOffsetX/Y allows me to offset the drag image
> but it looks like this x/y is constrainted to the image.width/2 &
> image.height/2.
>
> Is this OS specific, a general limitation or a bug? If it is 1 or 2 I
> think information on that in the JavaDoc would help understand that.
>
> Tom
>


More information about the openjfx-dev mailing list