Google Material Symbols and Icons

General TRichView support forum. Please post your questions here
Post Reply
standay
Posts: 316
Joined: Fri Jun 18, 2021 3:07 pm

Google Material Symbols and Icons

Post by standay »

Hi Sergey,

I tried the Google Material Symbols and Icons in my rv actions, I like them but they display a bit bigger than I'd like with a default dialog. Is there any way to set the size of those icons?

Thanks Sergey

Stan
Sergey Tkachenko
Site Admin
Posts: 17995
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Google Material Symbols and Icons

Post by Sergey Tkachenko »

Currently, the sizes are hard-coded in RVAIcons.pas:

Code: Select all

const
  HugeIconSize = 96;
  LargeIconSize = 48;
  MediumIconSize = 32;
  SmallIconSize = 24;
These sizes correspond to smallest image sizes available in the image collection.
You can change them to smaller values, but images will be created from existing images by scaling, so they will be somewhat blurry.
standay
Posts: 316
Joined: Fri Jun 18, 2021 3:07 pm

Re: Google Material Symbols and Icons

Post by standay »

Sergey Tkachenko wrote: Wed Nov 26, 2025 2:58 pm Currently, the sizes are hard-coded in RVAIcons.pas:

Code: Select all

const
  HugeIconSize = 96;
  LargeIconSize = 48;
  MediumIconSize = 32;
  SmallIconSize = 24;
These sizes correspond to smallest image sizes available in the image collection.
You can change them to smaller values, but images will be created from existing images by scaling, so they will be somewhat blurry.
Thanks Sergey, I'll see what I can do with that.

Stan
Post Reply