RFR: 8317836: FX nodes embedded in JFXPanel need to track component orientation [v8]
Kevin Rushforth
kcr at openjdk.org
Tue Oct 31 16:29:46 UTC 2023
On Tue, 31 Oct 2023 16:23:23 GMT, Andy Goryachev <angorya at openjdk.org> wrote:
> Perhaps we can clean up the logic a bit, something like
>
> ```
> boolean rtl = ComponentOrientation.RIGHT_TO_LEFT.equals(cor);
> stage.setNodeOrientation(rtl ? RTL : LTR)
> ```
Yes, that's also what I trying to suggest in an earlier comment I made.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1271#issuecomment-1787564824
More information about the openjfx-dev
mailing list