[Lazarus] Hi-dpi icons suggestion

Alexey aaa5500 at ya.ru
Thu May 4 11:07:31 CEST 2017


I have suggestion for scaling hi-dpi for Speedbuttons with icons
Now: icons scale by any scale, e.g. by 175% if OS scale is 175%
It looks bad for 16x16 ide icons. they are looking broken.
Suggestion:
- until scale <200%, don't zoom icons, paint 16x even on bigger buttons
- scale is >=200%, <300%, then zoom icons 2x times
- scale is >=300%, then zoom icons 3x times

(Can add prop, to keep /bad look/ on 175%)

-- 

Regards,
Alexey T.



More information about the Lazarus mailing list