Author Topic: 16x16 toolbar icon only exists in DPI scale 100%  (Read 263 times)

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5226
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
16x16 toolbar icon only exists in DPI scale 100%
« on: July 28, 2019, 12:13:10 pm »
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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12027
    • Travis build status
Re: 16x16 toolbar icon only exists in DPI scale 100%
« Reply #1 on: July 28, 2019, 03:19:12 pm »
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.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!]