Page 1 of 1
Google Material Symbols and Icons
Posted: Wed Nov 26, 2025 2:28 pm
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
Re: Google Material Symbols and Icons
Posted: Wed Nov 26, 2025 2:58 pm
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.
Re: Google Material Symbols and Icons
Posted: Wed Nov 26, 2025 3:06 pm
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