News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

16x16 toolbar icon only exists in DPI scale 100%

Started by ollydbg, July 28, 2019, 12:13:10 PM

Previous topic - Next topic

ollydbg

Hi, I have just build the latest C::B svn11810. (I'm using wx master and mingw-build gcc 8.1 32bit)
I notice that when my desktop DPI is 100%, I can change the toolbar icon to 16x16 pixels.
But when I switch my DPI scale to 125%, the 16x16 size does not exits, and the smallest is 20x20. Is it normal or by design?
I'm under Win7 64bit.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

oBFusCATed

Yes, it is by design.
Why do you want to use smaller icons, but still have the DPI set to 125%?
I can bring back more options for icons sizes, but I'd rather not do it.

This is where I've provided the patch for testing: http://forums.next.codeblocks.org/index.php/topic,23336.msg159158.html#msg159158
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]