On Wed, 29 Oct 2025 10:47:52 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" >> /> > > Prasanta Sadhukhan has updated the pull request incrementally with one > additional commit since the last revision: > > Correct layouting There seems to be less gap between text and icon in RTL Windows L&F case. The border looks different when the icon is to the left and right side of text, is that expected? <img width="200" height="200" alt="image" src="https://github.com/user-attachments/assets/60cb104d-8b25-45b1-89d4-67dbd8b6f0b0" /> ------------- PR Comment: https://git.openjdk.org/jdk/pull/27968#issuecomment-3464511099
