On Tue, 31 Oct 2023 15:55:39 GMT, Andy Goryachev <[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
For the _effective_ NodeOrientation attribution in the embedded window, there's
no such thing as INHERIT. It's either LTR (default) or RTL.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1271#issuecomment-1787531546