<Swing Dev> RFR: 8251177: [macosx] The text "big" is truncated
Sergey Bylokhov
serb at openjdk.java.net
Mon Nov 2 00:00:53 UTC 2020
On Sun, 1 Nov 2020 17:21:58 GMT, Pankaj Bansal <pbansal at openjdk.org> wrote:
> 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.
Probably it is better to limit the size of the font?
-------------
PR: https://git.openjdk.java.net/jdk/pull/984
More information about the swing-dev
mailing list