[Lazarus] High-DPI aware LCL ?
Lukasz Sokol
el.es.cr at gmail.com
Wed Oct 7 13:09:04 CEST 2015
On 07/10/15 11:44, Graeme Geldenhuys wrote:
> On 2015-10-07 11:24, Mattias Gaertner wrote:
>> There are currently about 400 icons in the IDE.
>> We need volunteers to create them either as SVG or as higher resolution
>> image.
>
> Use SVG directly and let it render the correct size at runtime. That
> will solve the problem for any dpi value. Higher resolution images will
> only solve the problem for hard-coded dpi values like the Microsoft
> ones... Think Android phones and tables, where every devices has a
> different DPI value and they vary greatly.
>
> Break it down into manageable steps:
>
> 1. Add SVG support to LCL, but keep BMP & PNG support too.
> 2. Change the high-visibility icons to SVG first.
> eg: the ones on the main toolbar.
> 3. Then as time permits (or contributors help), go through the menus and
> dialogs one by one.
>
What do you think about http://www.pushing-pixels.org/2011/11/04/about-those-vector-icons.html ?
> Regards,
> - Graeme -
>
el es
More information about the Lazarus
mailing list