<Swing Dev> RFR: 8251177: [macosx] The text "big" is truncated
Pankaj Bansal
pbansal at openjdk.java.net
Sun Nov 1 17:50:00 UTC 2020
The manual test creates a JTabbedPane and add tabs with text with different html styles. For the tab with text "big", a bigger text size is used and it is expected that this should result in making the tab height bigger.
For AquaLookAndFeel, inside class AquaJTabbedPaneUI and AquaTabbedPaneCopyFromBasicUI, the tabs height is constraint and there is upper/lower limit set for tab height. So the tab height is less than expected and the text looks truncated. I do not see this issue in other L&Fs.
It looks like this is done deliberately for AquaL&F and this is not a bug. but the test instructions do not specify this and result in confusion. So updating the test instructions to specify that the text "big" may be truncated in MacOS.
-------------
Commit messages:
- Remove test from ProblemList
- 8251177: [macosx] The text big is truncated
Changes: https://git.openjdk.java.net/jdk/pull/984/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=984&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8251177
Stats: 4 lines in 2 files changed: 2 ins; 1 del; 1 mod
Patch: https://git.openjdk.java.net/jdk/pull/984.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/984/head:pull/984
PR: https://git.openjdk.java.net/jdk/pull/984
More information about the swing-dev
mailing list