On Mon, 14 Mar 2022 13:14:15 GMT, Prasanta Sadhukhan <[email protected]> 
wrote:

>> src/java.desktop/macosx/classes/com/apple/laf/AquaLookAndFeel.java line 892:
>> 
>>> 890:             "Table.focusCellBackground", textHighlightText,
>>> 891:             "Table.focusCellForeground", textHighlight,
>>> 892:             "Table.focusCellHighlightBorder", new 
>>> BorderUIResource.LineBorderUIResource(deriveContrastFocusRing(selectionBackground),
>>>  2),
>> 
>> You have used border thickness as 2 without relying on scale factor. Did you 
>> check if it looks same in retina as well as non-retina display?
>
> Do we also need to do the same for List.focusCellHighlightBorder?

@prsadhuk Thank you for reviewing. 

Earlier when I used the default thickness (thickness=1) the cell focus ring was 
visible but not prominent as shown in the following screenshot. Please let me 
know if I need to change thickness to 1 or keep it the same?

**Thickness=1**

![image](https://user-images.githubusercontent.com/95945681/158270171-8260c71f-511f-481e-b88e-f226818a8219.png)

The thickness looks the same on retina as well as non-retina display. I have 
included the screenshots for comparison-

![image](https://user-images.githubusercontent.com/95945681/158270568-b3018b09-8227-4bf0-9751-80d30df4e411.png)

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

PR: https://git.openjdk.java.net/jdk/pull/7768

Reply via email to