[Lazarus] HiRes for IDC icons

Sandro Cumerlato sandro.cumerlato at gmail.com
Wed Aug 24 10:13:32 CEST 2016


Hello Don,
I just tested my workaround and it works as expected.

Don't forget to *rebuild* the Lazarus IDE (Tools -> Build Lazarus with
Profile: Normal IDE).


Before patch:

​

After patch:

​

Component Palette Buttons are enlarged to 48x48 pixels.


You can find a fresh new patch (against svn trunk revision 52865) attached
to this message.


Kind regards,
Sandro Cumerlato



On 23 August 2016 at 23:16, Donald Ziesig <donald at ziesig.org> wrote:
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160824/2acd4c7d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Lazarus IDE - Standard.png
Type: image/png
Size: 16392 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160824/2acd4c7d/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Lazarus IDE - Patched.png
Type: image/png
Size: 15083 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160824/2acd4c7d/attachment-0003.png>
-------------- next part --------------
Index: components/ideintf/formeditingintf.pas
===================================================================
--- components/ideintf/formeditingintf.pas	(revisione 52865)
+++ components/ideintf/formeditingintf.pas	(copia locale)
@@ -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;


More information about the Lazarus mailing list