Bug #10785 2007-03-30 09:14

afb

wxMac: large toolbar icons doesn't work

22x22 doesn't work as a toolbar size in wxMac, since it checks whether size > 24 and otherwise chooses 16x16 regardless. This also makes it scale down the icons (while ignoring the alpha/mask) and generally look bad. So while the 16x16 toolbar icons looks OK, the 22x22 do not.

The suggested solution is to make the toolbar icons 26x26 on wxMac, and then add a 2 pixel transparent border to the regular 22x22 icons. Unfortunately the alpha channel handling in wxWidgets 2.6 is really really bad, which makes it harder to come up with code that works...

Workaround meanwhile: choose the smaller toolbar icon size :-)

Category
Application::Interface
Group
 
Status
Closed
Close date
2007-03-31 12:58
Assigned to
afb
afb 2007-03-30 14:01

Plot thickens: masked toolbar icons only work if the size is 16x16 or 32x32, so they need to be padded to 32x32 rather than 26x26

If the artwork is available, we might even want to consider including real 32x32 images for the main toolbar (but harder to do for all plugins)

But padding 22x22 to 32x32 looks better than scaling them, IMHO.

afb 2007-03-31 12:58

Fixed in revision 3803 (padding 22x22 icons up to 32x32 images)