Fuzzy icons with 18 |
Post Reply |
Author | |
Fredrik
Senior Member Joined: 22 June 2005 Status: Offline Points: 235 |
Post Options
Thanks(0)
Posted: 02 February 2018 at 5:24am |
When I upgraded from 17.3 to 18 all the ribbon icons became fuzzy. Not the best example below but here we can see that the 18 images become larger (and this without any changes in the code).
The code is <CODE> pCommandBars->GetPaintManager()->m_bAutoResizeIcons = TRUE; pCommandBars->GetCommandBarsOptions()->SetDPIScallingOptions(TRUE); </CODE> and if I set m_bAutoResizeIcons to false it looks good for me (Windows 10), not sure how it will look under other OS:es. BUT, then the minitoolbar is too small. I only have 16 and 32 px versions of my icons. What should I do to keep my ribbon as in 17.3 but still get properly sized mini toolbar icons? |
|
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0
|
|
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
|
Hello, See this topic with explanations. In your case I can offer to set size of small and large icons as
Regards,
Oleksandr Lebed |
|
Fredrik
Senior Member Joined: 22 June 2005 Status: Offline Points: 235 |
Post Options
Thanks(0)
|
Hi Oleksandr, thanks for your reply.
I tried your solution (and a similar solution) and the icons in the ribbon becomes good however - then the the problem is the minitoobar icons which becomes both fuzzy and too small. I don't seem to be able to get both Ribbon icons AND the minitoolbar icons crisp at the same time - it is either/or?
|
|
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0
|
|
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
|
Hi;
I have the same problem with small icons. I added them separately in size 16/16 but they are fuzzy. Any idea how to solve it? |
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |