<Swing Dev> [9] Review request for 8179027: JComboBox too small under Windows LAF
Philip Race
philip.race at oracle.com
Wed Apr 26 00:32:10 UTC 2017
Lots of magic numbers .. was it always like this ?
Can you test in JDK9's version of SwingSet2 with both Windows Style L&F
and Windows Classic L&F
at 100%, 125%, and 150% and compare with native comboboxes at the same time.
Although I don't like the magic numbers if these all match then it will
probably be OK.
-phil.
On 4/25/17, 8:55 AM, Semyon Sadetsky wrote:
> Hello,
>
> Please review fix for JDK9:
>
> bug: https://bugs.openjdk.java.net/browse/JDK-8179027
>
> webrev: http://cr.openjdk.java.net/~ssadetsky/8179027/webrev.00/
>
> This a regression introduced by JDK-6490753. The updated JComboBox
> look and feel affected JComboBox preferred size calculation. In the
> fix the size calculation was updated to fit the new L&F.
>
> --Semyon
>
>
More information about the swing-dev
mailing list