right-to-left and clipping

Tom Eugelink tbee at tbee.org
Thu Jun 4 19:29:03 UTC 2015


Someone posted an issue with JFXtras Agenda and right-to-left node orientation. I fixed the part where dragging an appointment was using scene based coordinates and thus did not play nice with the automatic mirroring when right-to-left is activated.

However, I also see rendering issues where clipping is used on a Text node to limit the visible descriptive text to the width and height of the appointment. After some fiddling I come to the conclusion that clipping apparently is not fully included in the mirroring. If it were, then the clip should render correctly, but OTOH it is not at its unmirrored position either. This partial behavior confuses me. In one situation I need to move the clip a illigical 20 pixels to the right when right-to-left is active. Very strange. Any ideas or suggestions what causes clipping to behave differently in the mirroring?

Tom




More information about the openjfx-dev mailing list