RFR: JDK-8251177: [macosx] The text "big" is truncated in JTabbedPane [v2]

Harshitha Onkar duke at openjdk.java.net
Wed Apr 20 16:24:07 UTC 2022


On Wed, 20 Apr 2022 08:36:37 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> Harshitha Onkar has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   changed font-size to 3
>
> test/jdk/javax/swing/JTabbedPane/4209065/bug4209065.java line 59:
> 
>> 57:                       + "fit the tab.</center></html>";
>> 58:         tp.addTab("<html><center><font size=+2>big</font></center></html>",
>> 59:                 new JLabel(text));
> 
> If you are saying text may not fit the tab, then I guess no need to change font size from +3 to +2, leave it as it is..

@prsadhuk Font-size of +2 is where it starts to get clipped but as you suggested we can change it back to +3 because of the included note. Updated the test case.

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

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



More information about the client-libs-dev mailing list