On Wed, 20 Apr 2022 16:53:33 GMT, Harshitha Onkar <d...@openjdk.java.net> wrote:

>> The exisiting manual test case tests different html styles of JTabbedPane 
>> tab title. The tab with "big" as title is seen to be clipped on Aqua LAF for 
>> larger font-size. In other LAFs it is observed that bigger font-size can be 
>> accommodated without clipping.
>> 
>> The following approaches were evaluated before considering it as not a test 
>> issue -
>> 
>> - Aqua LAF has a different tab style compared to other LAFs as seen in the 
>> screenshot below. Limiting font size on Aqua LAF requires scaling down the 
>> text which might be incompatible with Aqua LAF.
>> 
>> - Removing existing constraints on text and icon is incompatible for Aqua 
>> LAF.
>> 
>> Since the above two approaches are incompatible with Aqua and it is not a 
>> test issue, a note has been added about clipped text and this test has been 
>> removed from problem list
>> 
>> ![image](https://user-images.githubusercontent.com/95945681/164093604-ca7ecbc3-09c2-4338-bd2a-f8c81c12f360.png)
>
> Harshitha Onkar has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   test summary updated

test/jdk/javax/swing/JTabbedPane/4209065/bug4209065.java line 55:

> 53:                       + "<br>the descriptions, press 
> <em><b>PASS</b></em><br>"
> 54:                       + "<br> NOTE: the text (tab title) may not always "
> 55:                       + "fit the tab.</center></html>";

How about 
NOTE: where a large font is used, the text may be larger than the tab height 
but this is OK and not a failure.

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

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

Reply via email to