On Fri, 24 Oct 2025 04:21:30 GMT, Prasanta Sadhukhan <[email protected]> 
wrote:

> Icon rendering offset is wrong for RTL orientation which is why the icon was 
> not rendered properly..Also, LEADING horizontal text position was not 
> accounted for..
> 
> Before fix
> 
> <img width="386" height="487" alt="image" 
> src="https://github.com/user-attachments/assets/d33140e0-85f1-471c-abf4-bfc7992cd79e";
>  />
> 
> With fix
> 
> <img width="384" height="491" alt="image" 
> src="https://github.com/user-attachments/assets/9df65234-2b84-48ae-b85e-eefdbfbd544e";
>  />

That is expected as for WIndows L&F we are having dedicated offset for icon and 
checkmark/bullet so that they dont overlap as earlier before 
[JDK-8348760](https://bugs.openjdk.org/browse/JDK-8348760) the icon and 
radiobutton bullet/checkmark was overlapping so checkmark was not visible so 
now each is drawn on its own dedicated position

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

PR Comment: https://git.openjdk.org/jdk/pull/27968#issuecomment-3455004695

Reply via email to