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

Harshitha Onkar duke at openjdk.java.net
Wed Apr 20 21:25:26 UTC 2022


> 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:

 - merging master
 - test summary updated
 - changed font-size to 3
 - expanded imports
 - JTabbedPane test case changes

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/8307/files
  - new: https://git.openjdk.java.net/jdk/pull/8307/files/521d2790..b1491b12

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=8307&range=03
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=8307&range=02-03

  Stats: 9803 lines in 339 files changed: 6702 ins; 1723 del; 1378 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8307.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8307/head:pull/8307

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



More information about the client-libs-dev mailing list