<AWT Dev> [9] Review request for 8161273: [hidpi] The frame insets size is wrong on Linux HiDPI because it is not scaled.

Alexandr Scherbatiy alexandr.scherbatiy at oracle.com
Wed Jul 20 12:02:59 UTC 2016


The fix looks good to me.

Thanks,
Alexandr.

On 7/20/2016 9:34 AM, Semyon Sadetsky wrote:
> 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