On Tue, 31 Oct 2023 15:54:40 GMT, Kevin Rushforth <[email protected]> wrote:
> if (!cor.equals(ComponentOrientation.UNKNOWN)) {
> boolean rtl = cor.equals(ComponentOrientation.RIGHT_TO_LEFT);
> stage.setNodeOrientation(rtl ? NodeOrientation.RIGHT_TO_LEFT :
> NodeOrientation.LEFT_TO_RIGH**T); } else {
> stage.setNodeOrientation(NodeOrientation.LEFT_TO_RIGHT);**
> }
I think it should do a simple translation:
LTR -> LTR
RTL -> RTL
UNKNOWN -> INHERIT
> Presuming we want to treat UNKOWN the same as RIGHT_TO_LEFT
no, we want to treat is as INHERIT, i.e. back to initial state. INHERIT shows
up as LTR.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1271#issuecomment-1787505596
PR Comment: https://git.openjdk.org/jfx/pull/1271#issuecomment-1787510253