<AWT Dev> [9] Review request for 8161273: [hidpi] The frame insets size is wrong on Linux HiDPI because it is not scaled.
Semyon Sadetsky
semyon.sadetsky at oracle.com
Wed Jul 20 06:34:20 UTC 2016
On 7/19/2016 2:36 PM, Alexandr Scherbatiy wrote:
> On 7/15/2016 10:24 AM, Semyon Sadetsky wrote:
>> Hello,
>>
>> Please review fix for JDK9:
>>
>> bug: https://bugs.openjdk.java.net/browse/JDK-8036915
>>
>> webrev: http://cr.openjdk.java.net/~ssadetsky/8161273/webrev.00/
>>
>> Frame insets sizes are scaled according to the hidpi scale.
> Is it possible to use scaleDown() method instead of directly
> dividing insets by scale "i.top / scale"?
Sure. See the updated webrev:
http://cr.openjdk.java.net/~ssadetsky/8161273/webrev.01/
--Semyon
>
> Thanks,
> Alexandr.
>>
>> --Semyon
>>
>
More information about the awt-dev
mailing list