Allow menus images appear 32x32 on Windows

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
marcoagpinto
Addict
Addict
Posts: 1051
Joined: Sun Mar 10, 2013 3:01 pm
Location: Portugal
Contact:

Allow menus images appear 32x32 on Windows

Post by marcoagpinto »

@Fred !

All my menus images in PNG now appear in 16x16 instead of 32x32 with beta 9.

Both in pull down menus and pop-up menus.

Windows 11.

:cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry:
User avatar
marcoagpinto
Addict
Addict
Posts: 1051
Joined: Sun Mar 10, 2013 3:01 pm
Location: Portugal
Contact:

Re: PB 6.21b9: All menus images appear in 16x16 not in 32x32

Post by marcoagpinto »

I am so sad.

Screenshot:
Image
BarryG
Addict
Addict
Posts: 4173
Joined: Thu Apr 18, 2019 8:17 am

Re: PB 6.21b9: All menus images appear in 16x16 not in 32x32

Post by BarryG »

They're not meant to be 32x32 by default. It's because of my bug report here -> viewtopic.php?t=86859

I want them 16x16 as they're supposed to be, and always have been until 6.20 or whatever it was. Other languages use 16x16 for them.

Unless Fred wants to add an optional size flag to accommodate your wish.
User avatar
marcoagpinto
Addict
Addict
Posts: 1051
Joined: Sun Mar 10, 2013 3:01 pm
Location: Portugal
Contact:

Re: PB 6.21b9: All menus images appear in 16x16 not in 32x32

Post by marcoagpinto »

BarryG wrote: Thu May 08, 2025 8:48 am They're not meant to be 32x32 by default. It's because of my bug report here -> viewtopic.php?t=86859

I want them 16x16 as they're supposed to be, and always have been until 6.20 or whatever it was. Other languages use 16x16 for them.

Unless Fred wants to add an optional size flag to accommodate your wish.
The menus were supposed to be "native" now, so I have all PNGs in 32x32.
BarryG
Addict
Addict
Posts: 4173
Joined: Thu Apr 18, 2019 8:17 am

Re: PB 6.21b9: All menus images appear in 16x16 not in 32x32

Post by BarryG »

Native at 100% DPI is 16x16 pixels:

Image

Source -> https://learn.microsoft.com/en-us/windo ... nstruction
User avatar
marcoagpinto
Addict
Addict
Posts: 1051
Joined: Sun Mar 10, 2013 3:01 pm
Location: Portugal
Contact:

Re: PB 6.21b9: All menus images appear in 16x16 not in 32x32

Post by marcoagpinto »

BarryG wrote: Thu May 08, 2025 9:41 am Native at 100% DPI is 16x16 pixels:

Image

Source -> https://learn.microsoft.com/en-us/windo ... nstruction
But I have redrawn all my PNGs for 32x32, and on Ubuntu they were also working with beta 8, haven't tested with beta 9.
User avatar
marcoagpinto
Addict
Addict
Posts: 1051
Joined: Sun Mar 10, 2013 3:01 pm
Location: Portugal
Contact:

Re: PB 6.21b9: All menus images appear in 16x16 not in 32x32

Post by marcoagpinto »

Guys,

Here is the full source-code and media of my app:
http://proofingtoolgui.org/_other/Proof ... 250508.zip

Thanks!
Fred
Administrator
Administrator
Posts: 18220
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PB 6.21b9: All menus images appear in 16x16 not in 32x32

Post by Fred »

I will add a new flag for 6.30 to allow larger icons on Windows
User avatar
marcoagpinto
Addict
Addict
Posts: 1051
Joined: Sun Mar 10, 2013 3:01 pm
Location: Portugal
Contact:

Re: PB 6.21b9: All menus images appear in 16x16 not in 32x32

Post by marcoagpinto »

Fred wrote: Thu May 08, 2025 4:34 pm I will add a new flag for 6.30 to allow larger icons on Windows
Thank you, Fred!

<3 <3 <3 <3 <3
Rinzwind
Enthusiast
Enthusiast
Posts: 690
Joined: Wed Mar 11, 2009 4:06 pm
Location: NL

Re: PB 6.21b9: All menus images appear in 16x16 not in 32x32

Post by Rinzwind »

21b9 style is the only right one. All Windows menu's look like that at 100%. It should also adhere to DPI/scaling setting. Which it does it seems.
So not sure why you act like the specious one should be the default and hurt all normal apps in the process ;). Only useful for touch screen IMHO. Then again, if it is a choice, good. But even in your app I would prefer compact anyway....
Post Reply