SyMenu Forum

SyMenu

 

HomeGeneral discussion & questions

Talk about SyMenu or post suggestions, requests, or how-to questions

Feature Request: Bigger Icons Messages in this topic - RSS

pmem
pmem
Posts: 5


07/04/2021
pmem
pmem
Posts: 5
Would it be possible to use a larger icon size?
It seems that SyMenu restricts icons to 16x16, but with the possibility to increase text size it would be nice to be able to use bigger icons.
Ideally, I'd like to use 24 and 32 sizes, and since the .ico format usually includes multiple sizes, I think this would be feasible.

Also, it would be nice if you could increase the width of the icons container in the menu so that the container is a square.
link
Gianluca
Gianluca
Administrator
Posts: 1274


07/04/2021
Gianluca
Gianluca
Administrator
Posts: 1274
Hi pmem and welcome.


It's not possible to increase the icons size.

You can scale your Display settings (Windows allows to zoom to whatever percentage you like) and everything will be scaled even the SyMenu icons. Naturally they remain 16x16 sized even if they are zoomed (blurred).

I know that .ico format can contain several icons with different sizes and color depth, but SyMenu is not able to manage it. Second problem is that the program definitions will become bigger and bigger and I don't want to force everyone to download MB of useless data every day.
+1 link
pmem
pmem
Posts: 5


07/04/2021
pmem
pmem
Posts: 5
Thanks for the reply.
So you do not use the icons from the exes?
link
Gianluca
Gianluca
Administrator
Posts: 1274


07/04/2021
Gianluca
Gianluca
Administrator
Posts: 1274
Well it's more difficult than you can think.

In SyMenu we have two icon set.

You can find all the icons for your logical items inside your local folder [SyMenu]\Icons.
Why these icons have only a 16x16/32bit image inside?

Because I'm lazy! smile Well it's truly different to read the first and unique icon available in an .ico file and use it, and to take the icon with the right size/depth accordingly with the user preferences.


Then we have the second icon set.

If you go to [SyMenu]\ProgramFiles\SPSSuite\SyMenuSuite\_Cache you'll find a .zip file with the fresh definitions of the thousand apps available in the SyMenu suite. Every apps, as you can see in the Get new apps form, comes with its own icon. Where is this icon?

Unzip the file, open one of the .sps with a text editor and you'll find that the icon is coded as a base64 field inside the xml. The biggest field BTW.

Can you imagine what means to fill every sps file a certain number of icons? We will have an huge definitions file to download every day.


If you understand about coding and you are skilled enough, you should find dozens solutions to these little problems but, really, I'm not interested in spend the time I devote to this project to improve the icons. I know how the problem could be fixed but I literally have not time to fix it.
+1 link
pmem
pmem
Posts: 5


07/04/2021
pmem
pmem
Posts: 5
Thanks again smile
My proposal would only apply to the menu icons ([SyMenu]\Icons as I understand) and not to the cache.

Also, yes, I do understand about coding and know vaguely how to tackle this. If you need, I wouldn't mind helping in this smile
link
Gianluca
Gianluca
Administrator
Posts: 1274


07/04/2021
Gianluca
Gianluca
Administrator
Posts: 1274
My friend.... where were you when I was forced to solve this problem all alone??? smilesmilesmilesmile


Well if I can cut time off to think about this, I'll ring a bell for you.

Thank you for you support.
link
pmem
pmem
Posts: 5


07/04/2021
pmem
pmem
Posts: 5
No problem :P
Do as you please, it's just a suggestion.
link
pmem
pmem
Posts: 5


07/04/2021
pmem
pmem
Posts: 5
Adding a bit more information to this discussion.

The problem only happens if Windows scale isn't 100% and SyMenu uses a larger font size (preview) because the icons don't respect the [SM_CXSMICON x SM_CYSMICON] shell sizes (compare with the System Tray in the preview). Something which I believe would be fixed by simply using ExtractIconEx and using the current ExtractIcon as fallback for when the former returns a null 'phiconSmall'.
However I think that using text size for reference would be better than the SM_CXSMICON, because it would scale nicely with the text.

edited by pmem on 07/04/2021

edited by pmem on 07/04/2021
link



UGMFree © 2002-2024
PayPal BTC TON