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

Harshitha Onkar duke at openjdk.java.net
Wed Apr 20 16:24:06 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 incrementally with one additional commit since the last revision:

  changed font-size to 3

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/8307/files
  - new: https://git.openjdk.java.net/jdk/pull/8307/files/aca2d2e6..951c0725

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

  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 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