[Lazarus] HiRes for IDC icons

Donald Ziesig donald at ziesig.org
Tue Aug 23 23:16:22 CEST 2016


On 08/23/2016 06:39 AM, Sandro Cumerlato wrote:
> Hello Don,
> this is a "known" issue of the Lazarus IDE.
>
> Is it already listed on the Lazarus Bugtracker?
>
> If the problem is related to the size of the component palette
> buttons, I have a partial patch for it to work on...
>
> Best regards,
> Sandro Cumerlato
>
>
> Index: components/ideintf/formeditingintf.pas
> ===================================================================
> --- components/ideintf/formeditingintf.pas (revision 51215)
> +++ components/ideintf/formeditingintf.pas (working copy)
> @@ -20,8 +20,8 @@
>     LCLClasses, ProjectIntf, ComponentEditors, ObjectInspector, UnitResources;
>
>   const
> -  ComponentPaletteImageWidth = 24;
> -  ComponentPaletteImageHeight = 24;
> +  ComponentPaletteImageWidth = 48;
> +  ComponentPaletteImageHeight = 48;
>     ComponentPaletteBtnWidth  = ComponentPaletteImageWidth + 3;
>     ComponentPaletteBtnHeight = ComponentPaletteImageHeight + 3;
>     DesignerBaseClassId_TForm = 0;
>
>
>
> On 21 August 2016 at 15:48, Donald Ziesig <donald at ziesig.org> wrote:
>> Hi Qll!
>>
>>
>> I just got a band new laptop :-D witth a 1920x1080 display.  I set it up
>> with Linux Mint 18 Xfce and have been working on the display resolution for
>> the past day or so.
>>
>>
>> Almost everything is set up so I can  see/read it.  The big problem is with
>> Lazarus IDE icons.  The control buttons are so small that they are almost
>> invisible which makes them extremely hard to use.  I have changed the
>> display resolution with xrandr. Most apps follow this.  Those that don't do
>> follow the system font setting.
>>
>>
>> How can I rescale the IDE buttons (with or without changing the font size)
>> so they are visible?
>>
>>
>> Thanks,
>>
>>
>> Don Ziesig
>>
>>
>> --
>> _______________________________________________
>> Lazarus mailing list
>> Lazarus at lists.lazarus-ide.org
>> http://lists.lazarus-ide.org/listinfo/lazarus

Hi Sandro,

I tried your "patch" but it did not change anything in the appearance of 
the buttons.

I am searching the bug tracker but have not found anything like this (It 
may be there but it is not obvious).

After a little more searching, if I can't find an issue, I will submit one.

Thanks,

Don Ziesig




More information about the Lazarus mailing list