<AWT Dev> Review Request: JDK-8144709 [hidpi] [TestBug] java/awt/GridLayout/ChangeGridSize/ChangeGridSize.java, java/awt/GridLayout/ComponentPreferredSize/ComponentPreferredSize.java are failing
prem.balakrishnan at oracle.com
Wed Jul 20 09:03:34 UTC 2016
Please review fix for JDK9,
java/awt/GridLayout/ComponentPreferredSize/ComponentPreferredSize.java are failing
This issue is reproducible only on windows 8 OS.
Component(frame) width is set to 200,
where as the minimum width obtained using ::GetSystemMetrics(SM_CXMIN) for Windows 8 is 210 (with 150% scale),
hence user set width is replaced by the minimum width.
Therefore the Button size obtained is 97X52 instead of 92X52. (i.e., each column is 5pixel more)
Fix: frame width increased from 200 to 300
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the awt-dev