On Mon, 22 Jul 2024 07:19:26 GMT, Abhishek Kumar <[email protected]> wrote:

>> There's a problem to it as ComponentOrientation can be LTR, RTL or UNKNOWN 
>> (ie orientation not set) so just checking for isLeftToRIght will not work as 
>> !LTR can be RTL or UNKNOWN so it will not work for the present scenario so I 
>> guess we need to use the present way only..
>
>>  just checking for isLeftToRIght will not work as !LTR can be RTL or UNKNOWN
> 
> Does that mean if orientation is UNKNOWN, it should be LTR by default ?

It does seem like it...

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/20214#discussion_r1686081753

Reply via email to